more details in database scripts
This commit is contained in:
@@ -3,4 +3,5 @@
|
||||
echo "drop database agenda;" | psql postgres -U agenda
|
||||
echo "create database agenda;"| psql postgres -U agenda
|
||||
|
||||
set -Ux DATABASE_URL postgres://agenda:!agenda123@localhost:5432/agenda
|
||||
sqlx migrate run
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
|
||||
|
||||
brew services start postgresql@15
|
||||
|
||||
|
||||
|
||||
psql postgres
|
||||
|
||||
|
||||
Reference in New Issue
Block a user