cooked/scripts/migrate

11 lines
229 B
Plaintext
Raw Normal View History

2024-10-31 21:01:29 +01:00
export DATABASE_URL=postgres://postgres@localhost/cooked
psql postgres postgres -c 'DROP DATABASE cooked'
psql postgres postgres -c 'CREATE DATABASE cooked'
2024-10-31 16:00:26 +01:00
cargo build -p migration
./target/debug/migration
./scripts/seed.sh