-
Notifications
You must be signed in to change notification settings - Fork 0
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
FTA to RST schema import - rework to update rows in existing database #308
Comments
can maybe do automation on migration - need to research and do some testing |
@marcellmueller anything that affects what users see for this ticket, that I can review? |
Not at all sorry 😅 This won't affect much of anything until we either go to prod or stop clearing the test database every deployment. After we deploy a database that we don't clear everytime (prod) then we can see historical records of any FTA data that was updated since our last import. |
Describe the task
Currently our import from the FTA schema to our RST schema is very basic and only works on a freshly cleared database since we run
flyway_clean
every time we deploy to dev. We need to look at solutions on how to update this since while we could clear the prod database each time for the MVP public site at least - this would mean a couple minutes downtime each deploy, and more downtime if something went wrong.Longer term we may need to figure out how to only update rows if data has been updated, though that depends on our strategy for migrating users/rec techs from using FTA to using our admin site.
migrations/fta/sql/V1.0.2__fta_to_rst.sql
Acceptance Criteria
The text was updated successfully, but these errors were encountered: