Skip to content

Commit

Permalink
fix(migration): adds pragma to enable wal mode to migration file
Browse files Browse the repository at this point in the history
  • Loading branch information
NGimbal committed Feb 21, 2024
1 parent 9d81286 commit 4ef05f5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ node_modules

/prisma/data.db
/prisma/data.db-journal
/prisma/data.db-shm
/prisma/data.db-wal
/tests/prisma

/test-results/
Expand Down
2 changes: 2 additions & 0 deletions prisma/migrations/20230914194400_init/migration.sql
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
PRAGMA journal_mode = WAL;

-- CreateTable
CREATE TABLE "User" (
"id" TEXT NOT NULL PRIMARY KEY,
Expand Down

0 comments on commit 4ef05f5

Please sign in to comment.