Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session middleware doesn't use per-env db name #89

Open
cxcorp opened this issue Jul 12, 2020 · 0 comments
Open

Session middleware doesn't use per-env db name #89

cxcorp opened this issue Jul 12, 2020 · 0 comments

Comments

@cxcorp
Copy link
Contributor

cxcorp commented Jul 12, 2020

The knexfile uses a name suffix for the db names depending on the env, where prod is just DB_NAME but e.g. staging is DB_NAME + '_staging':

database: process.env.DB_NAME + "_staging",

Incorrect line:

database: process.env.DB_NAME

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant