diff --git a/config/environments/development.js.example b/config/environments/development.js.example index 2c391dd1..1c036f67 100644 --- a/config/environments/development.js.example +++ b/config/environments/development.js.example @@ -174,6 +174,12 @@ var config = { x: 0, y: 0 } + + // Use this as a feature flags enabling/disabling mechanism + ,enabledFeatures: { + // whether the affected tables for a given SQL must query directly postgresql or use the SQL API + cdbQueryTablesFromPostgres: true + } }; module.exports = config; diff --git a/config/environments/production.js.example b/config/environments/production.js.example index 0d4e999a..28f2ee95 100644 --- a/config/environments/production.js.example +++ b/config/environments/production.js.example @@ -183,6 +183,12 @@ var config = { x: 0, y: 0 } + + // Use this as a feature flags enabling/disabling mechanism + ,enabledFeatures: { + // whether the affected tables for a given SQL must query directly postgresql or use the SQL API + cdbQueryTablesFromPostgres: true + } }; module.exports = config; diff --git a/config/environments/staging.js.example b/config/environments/staging.js.example index 0c88a9c7..88a0d8e7 100644 --- a/config/environments/staging.js.example +++ b/config/environments/staging.js.example @@ -183,6 +183,12 @@ var config = { x: 0, y: 0 } + + // Use this as a feature flags enabling/disabling mechanism + ,enabledFeatures: { + // whether the affected tables for a given SQL must query directly postgresql or use the SQL API + cdbQueryTablesFromPostgres: true + } }; module.exports = config; diff --git a/config/environments/test.js.example b/config/environments/test.js.example index 67551249..066bf1d0 100644 --- a/config/environments/test.js.example +++ b/config/environments/test.js.example @@ -172,6 +172,12 @@ var config = { x: 0, y: 0 } + + // Use this as a feature flags enabling/disabling mechanism + ,enabledFeatures: { + // whether the affected tables for a given SQL must query directly postgresql or use the SQL API + cdbQueryTablesFromPostgres: true + } }; module.exports = config;