Skip to content

Commit

Permalink
fix(db): change to Postgres
Browse files Browse the repository at this point in the history
  • Loading branch information
AStevensTaylor authored Jan 16, 2024
1 parent 467eeea commit 486a5ec
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions server/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ generator client {
// Make sure to set the correct DATABASE_URL in your .env file
// After swapping run `yarn prisma:setup` from the root directory to migrate the database
//
// datasource db {
// provider = "postgresql"
// url = env("DATABASE_URL")
// }
datasource db {
provider = "sqlite"
url = "file:../storage/anythingllm.db"
provider = "postgresql"
url = env("DATABASE_URL")
}
// datasource db {
// provider = "sqlite"
// url = "file:../storage/anythingllm.db"
// }

model api_keys {
id Int @id @default(autoincrement())
Expand Down

0 comments on commit 486a5ec

Please sign in to comment.