Skip to content

Commit 9074311

Browse files
authored
Merge pull request #830 from constructive-io/devin/1773710098-remove-schema-naming-env-vars
refactor(server): remove schema naming env var forwarding from pgSettings
2 parents 5b9889f + d19252c commit 9074311

1 file changed

Lines changed: 0 additions & 9 deletions

File tree

graphql/server/src/middleware/graphile.ts

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -153,15 +153,6 @@ const buildPreset = (
153153
const req = (requestContext as { expressv4?: { req?: Request } })?.expressv4?.req;
154154
const context: Record<string, string> = {};
155155

156-
// Schema naming strategy settings (for local development).
157-
// See constructive-db: get_available_schema_hash / create_schema_trigger.
158-
if (process.env.CONSTRUCTIVE_SIMPLE_SCHEMA_NAMES) {
159-
context['constructive.simple_schema_names'] = process.env.CONSTRUCTIVE_SIMPLE_SCHEMA_NAMES;
160-
}
161-
if (process.env.CONSTRUCTIVE_SCHEMA_USE_UNDERSCORES) {
162-
context['constructive.schema_use_underscores'] = process.env.CONSTRUCTIVE_SCHEMA_USE_UNDERSCORES;
163-
}
164-
165156
if (req) {
166157
if (req.databaseId) {
167158
context['jwt.claims.database_id'] = req.databaseId;

0 commit comments

Comments
 (0)