more details in database scripts

This commit is contained in:
Alexandre Possebom
2024-03-05 11:25:35 -03:00
parent 37e693113c
commit 4e3f1ab108
2 changed files with 4 additions and 0 deletions
+1
View File
@@ -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
+3
View File
@@ -1,5 +1,8 @@
brew services start postgresql@15
psql postgres