set up sqlite

This commit is contained in:
Takeshi Kimata
2024-02-04 18:38:48 +09:00
parent cdaa99b89a
commit 45f64df1f9
12 changed files with 4227 additions and 112 deletions

4
backend/scripts/drop.sh Normal file
View File

@@ -0,0 +1,4 @@
#!/bin/bash
npx sequelize db:migrate:undo:all
echo "Dropped 'Project' table."

View File

@@ -0,0 +1,4 @@
#!/bin/bash
npx sequelize db:migrate
echo "Migration complete."

3
backend/scripts/seed.sh Normal file
View File

@@ -0,0 +1,3 @@
#!/bin/bash
npx sequelize db:seed:all