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

Schema Mutation #1

Open
psbrandt opened this issue Dec 31, 2019 · 2 comments
Open

Schema Mutation #1

psbrandt opened this issue Dec 31, 2019 · 2 comments

Comments

@psbrandt
Copy link

I have a question regarding the following Hibernate configuration option:

extraProperties.put("hibernate.hbm2ddl.auto", "update");

Does this mean that using OMOP on FHIR could mutate the CDM schema? If so, is the intention to use this in production, or only in development? What preparation should a potential implementer do to prevent potentially undesirable mutations to their production CDM schema?

@myungchoi
Copy link
Collaborator

Our intention is to first use in development environment. There are other configurations that can be set to limit the access.

For the hibernate auto update, we set it to update as default because there were some needs for the server to update database schema. We can make this configurable if it can better support community's needs.

@psbrandt
Copy link
Author

psbrandt commented Jan 3, 2020

The main problem is that this setting may causes unexpected changes, and do so without notifying the user. I don't think people would like this situation in the production environment 🙂

To me it makes more sense to require manual (or automated with tools like Flyway or Liquibase) preparation of the schema. Hence my PR on the other repo.

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

2 participants