feature: allow changing of "public" schema with env variable
See original GitHub issueWhile trying to add Hasura onto an existing DB, I recently found that all tables within any schema other than public
are prefixed with that schema’s name. e.g. hasura_users
I think it’d be really helpful for adding Hasura to an existing DB if an environment variable could be set that would replace the default public
schema as the unprefixed queries. e.g. HASURA_DEFAULT_SCHEMA=hasura
which would then unprefix any tables in the hasura
schema - making the above just users
.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:22
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Managing .env files and setting variables - Prisma
Learn how to manage .env files and set environment variables.
Read more >Using Environment Variables | Cloud Functions Documentation
All environment variables are bound to a deployment of a Cloud Function, and can only be set or changed with a deployment. If...
Read more >Introduction to environment variables - CircleCI
To change the value of an environment variable, delete the current variable, ... enable you to store secrets safely, even when your project...
Read more >Environment variables and app settings in Azure App Service
(NOTE: This app setting does not change the path used by AlwaysOn.) WEBSITE_COMPUTE_MODE, Read-only. Specifies whether app runs on dedicated ( ...
Read more >Environment variables - AWS Amplify Hosting
Environment variables are key-value pairs that are available at build time. ... variable to true to allow a GraphQL API to be updated...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Any updates?
@rakeshkky, it would really help to have
HASURA_DEFAULT_SCHEMA=public
. I believe it should be easy to implement. What is the chance of merging a pull request in case of contribution?