fix: quote PostgreSQL identifiers in setup_postgresql_db

- Rename Twenty DB from 'default' to 'twenty_db' (reserved keyword)
- Quote all identifiers in setup_postgresql_db with double quotes
  to prevent SQL syntax errors with reserved words
This commit is contained in:
MickLesk
2026-02-22 14:23:29 +01:00
parent 4ec2f7967b
commit 959a0cbeeb
2 changed files with 14 additions and 14 deletions

View File

@@ -20,7 +20,7 @@ $STD apt install -y \
msg_ok "Installed Dependencies"
PG_VERSION="16" setup_postgresql
PG_DB_NAME="default" PG_DB_USER="twenty" setup_postgresql_db
PG_DB_NAME="twenty_db" PG_DB_USER="twenty" setup_postgresql_db
NODE_VERSION="24" setup_nodejs
fetch_and_deploy_gh_release "twenty" "twentyhq/twenty" "tarball"