Run migrations via a collab subcommand

This commit is contained in:
Max Brunsfeld 2022-10-21 13:15:34 -07:00
parent 9952f08cce
commit cedc0f64d5
12 changed files with 180 additions and 113 deletions

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