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

Support table prefixes in SQL storage backends #64

Open
jessepeterson opened this issue Jan 13, 2023 · 1 comment
Open

Support table prefixes in SQL storage backends #64

jessepeterson opened this issue Jan 13, 2023 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@jessepeterson
Copy link
Member

Support dynamic table prefix specification in the mysql and pgsql storage backends. E.g. you can specify "mynano_" as the prefix and it would get prepended to the table names like "mynano_devices".

@jessepeterson
Copy link
Member Author

As the other Nano projects seem to be drifting toward sqlc use, I imagine we'll migrate that direction as well for NanoMDM. That makes this issue rather difficult as sqlc does not have support for prefixed table names. Though it looks like there may be some steps in that direction in sqlc-dev/sqlc#3370.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant