cooked/scripts/migrate

11 lines
261 B
Plaintext
Raw Permalink Normal View History

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