make pg_session_jwt instalation optional with a cli flag

This commit is contained in:
Ruslan Talpa
2025-06-20 10:17:32 +03:00
parent 3e36d516c2
commit 6bd15908fb
16 changed files with 87 additions and 33 deletions

View File

@@ -0,0 +1,12 @@
-- docker exec -it proxy-postgres psql -U postgres -c "CREATE SCHEMA IF NOT EXISTS neon_control_plane"
-- docker exec -it proxy-postgres psql -U postgres -c "CREATE TABLE neon_control_plane.endpoints (endpoint_id VARCHAR(255) PRIMARY KEY, allowed_ips VARCHAR(255))"
-- docker exec -it proxy-postgres psql -U postgres -c "CREATE ROLE proxy WITH SUPERUSER LOGIN PASSWORD 'password';"
CREATE SCHEMA IF NOT EXISTS neon_control_plane;
CREATE TABLE IF NOT EXISTS neon_control_plane.endpoints (
endpoint_id VARCHAR(255) PRIMARY KEY,
allowed_ips VARCHAR(255)
);
-- CREATE ROLE proxy WITH SUPERUSER LOGIN PASSWORD 'password';