fix: remove SSL from internal DB connection in entrypoint
Made-with: Cursor
This commit is contained in:
@@ -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 (
|
||||||
|
|||||||
Reference in New Issue
Block a user