Skip to content

Commit

Permalink
add db migration
Browse files Browse the repository at this point in the history
  • Loading branch information
malteish committed Jul 19, 2024
1 parent 92d6b92 commit 776cd84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "Account" ADD COLUMN "createdAt" TIMESTAMP(3) NOT NULL DEFAULT CURRENT_TIMESTAMP;
1 change: 1 addition & 0 deletions packages/backend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"scripts": {
"docker:up": "docker-compose up -d",
"prisma-init": "prisma generate && prisma migrate deploy ",
"prisma-create-migrations": "prisma generate && prisma migrate dev",
"start": "yarn prisma-init && node ./dist/index.js",
"start-inspect": "node --inspect=0.0.0.0:9229 ./dist/index.js",
"test": "yarn run before:tests && DATABASE_URL='postgresql://prisma:prisma@localhost:5433/tests?schema=public' yarn jest --coverage --runInBand --transformIgnorePatterns 'node_modules/(?!(dm3-lib-\\w*)/)'",
Expand Down

0 comments on commit 776cd84

Please sign in to comment.