Skip to content

Commit

Permalink
Merge pull request #130 from techstartucalgary/Aarsh/DB-Changes
Browse files Browse the repository at this point in the history
Update eb extension
  • Loading branch information
AarshShah9 authored Apr 18, 2024
2 parents cc21718 + 88e7d15 commit 3b67270
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .ebextensions/.01_migrate.config

This file was deleted.

10 changes: 10 additions & 0 deletions .ebextensions/01_db_setup.config
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
container_commands:
01_generate:
command: "cd backend && npx prisma generate"
leader_only: true
02_db_push:
command: "cd backend && npx prisma db push"
leader_only: true
03_db_seed:
command: "cd backend && npx prisma db seed"
leader_only: true

0 comments on commit 3b67270

Please sign in to comment.