Run migrations via a collab subcommand
This commit is contained in:
parent
9952f08cce
commit
cedc0f64d5
12 changed files with 180 additions and 113 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue