fix: setup-postgres-macos.sh (#2575)

* fix: setup-postgres-macos.sh

* Provide intel, arm mac os scripts

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
This commit is contained in:
Kanav Arora
2023-11-29 00:02:27 +05:30
committed by GitHub
parent 74e2464939
commit 9e9e1940f9
4 changed files with 122 additions and 15 deletions

View File

@ -75,5 +75,5 @@ fi
# Run the init.sql to setup database
echo_header $GREEN "Step [4/4]: Setting up database..."
cp ./infra/dev/postgres/init.sql /tmp/init.sql
cp ./postgres/init.sql /tmp/init.sql
sudo -u postgres psql -f /tmp/init.sql || handle_error "Failed to execute init.sql script."