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

Script templates for supporting replication #17

Open
2 tasks
justinneff opened this issue Jul 5, 2017 · 0 comments
Open
2 tasks

Script templates for supporting replication #17

justinneff opened this issue Jul 5, 2017 · 0 comments

Comments

@justinneff
Copy link
Contributor

For objects replicated databases, the objects (view, procedures, functions) cannot be dropped and recreated, but instead must only be altered. This creates a problem with our default script templates.

  • Have a flag that can be set in the migration.yaml and during init that turns on replication support
  • When replication support is turned on, have a set of templates that:
    • If the object does not exist, create a stub version of the object
    • Then as an ALTER object script instead of the CREATE object script
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