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

Prepend ctl to database table names #979

Merged
merged 13 commits into from
Aug 17, 2022

Conversation

ThomasLaPiana
Copy link
Contributor

@ThomasLaPiana ThomasLaPiana commented Aug 11, 2022

Closes #978

Code Changes

  • update sqlmodels.py to prepend all tables with ctl
  • create an alembic migration to rename the tables and indexes
  • update past migrations that get broken by the new change

Steps to Confirm

  • automated tests pass

Pre-Merge Checklist

  • All CI Pipelines Succeeded
  • Documentation Updated:
    • documentation complete, or draft/outline provided (tag docs-team to complete/review on this branch)
    • documentation issue created (tag docs-team to complete issue separately)
  • Issue Requirements are Met
  • Relevant Follow-Up Issues Created
  • Update CHANGELOG.md

Description Of Changes

(Relatively) Straightforward PR to avoid name collisions with ops

@ThomasLaPiana ThomasLaPiana self-assigned this Aug 11, 2022
@ThomasLaPiana
Copy link
Contributor Author

everything looking good, last piece is to update the migration to also rename the indexes

@ThomasLaPiana ThomasLaPiana marked this pull request as ready for review August 15, 2022 18:15
@ThomasLaPiana ThomasLaPiana requested a review from a team August 15, 2022 18:15
@allisonking
Copy link
Contributor

Fixed merge conflicts and merged alembic heads

@allisonking allisonking merged commit 4dbbd9a into main Aug 17, 2022
@allisonking allisonking deleted the ThomasLaPiana-prepend-ctl-databases branch August 17, 2022 23:38
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

Successfully merging this pull request may close these issues.

Prepend database tables names with ctl
2 participants