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

Add a read-only mode #25

Open
jonathansick opened this issue Apr 26, 2018 · 0 comments
Open

Add a read-only mode #25

jonathansick opened this issue Apr 26, 2018 · 0 comments

Comments

@jonathansick
Copy link
Member

Add a read-only mode that can be enabled though an admin-only API route (and backed by the SQL DB).

Add endpoints that change DB state (POST, PATCH, DELETE) will check this DB field and return an error if it is set.

This feature will make DB migrations easier by allowing a second DB to be created and copied from the original, have the migration applied, and then allow the app to be deployed against the new DB.

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

No branches or pull requests

1 participant