Skip to content

Commit

Permalink
use database url from env
Browse files Browse the repository at this point in the history
  • Loading branch information
fredrikmonsen committed Nov 8, 2024
1 parent 08063ee commit 9fce359
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.env.example
.env.local
Dockerfile
2 changes: 1 addition & 1 deletion prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ generator client {

datasource db {
provider = "sqlite"
url = "file:../db/ammo.db"
url = env("DATABASE_URL")
}

model ItemLock {
Expand Down

0 comments on commit 9fce359

Please sign in to comment.