fix: remove SSL from internal DB connection in entrypoint

Made-with: Cursor
This commit is contained in:
2026-02-27 12:51:50 -08:00
parent cb0ece541f
commit 0625943cc1

View File

@@ -7,7 +7,7 @@ npx prisma db push --accept-data-loss --skip-generate
echo "=== Ensuring app tables exist ===" echo "=== Ensuring app tables exist ==="
node -e " node -e "
const { Pool } = require('pg'); const { Pool } = require('pg');
const pool = new Pool({ connectionString: process.env.DATABASE_URL, ssl: { rejectUnauthorized: false } }); const pool = new Pool({ connectionString: process.env.DATABASE_URL });
pool.query(\` pool.query(\`
CREATE EXTENSION IF NOT EXISTS pgcrypto; CREATE EXTENSION IF NOT EXISTS pgcrypto;
CREATE TABLE IF NOT EXISTS fs_users ( CREATE TABLE IF NOT EXISTS fs_users (