set up sqlite
This commit is contained in:
4
backend/scripts/drop.sh
Normal file
4
backend/scripts/drop.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
npx sequelize db:migrate:undo:all
|
||||
echo "Dropped 'Project' table."
|
||||
4
backend/scripts/migrate.sh
Normal file
4
backend/scripts/migrate.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!/bin/bash
|
||||
|
||||
npx sequelize db:migrate
|
||||
echo "Migration complete."
|
||||
3
backend/scripts/seed.sh
Normal file
3
backend/scripts/seed.sh
Normal file
@@ -0,0 +1,3 @@
|
||||
#!/bin/bash
|
||||
|
||||
npx sequelize db:seed:all
|
||||
Reference in New Issue
Block a user