Run migrations via a collab subcommand

This commit is contained in:
Max Brunsfeld
2022-10-21 14:28:55 -07:00
parent 9952f08cce
commit cedc0f64d5
12 changed files with 180 additions and 113 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ echo "creating database..."
script/sqlx database create
echo "migrating database..."
script/sqlx migrate run
cargo run -p collab -- migrate
echo "seeding database..."
script/seed-db