Skip to content

Remove redundant constraints - tickets/INSTRM-2823#97

Merged
wtgee merged 1 commit intomasterfrom
tickets/INSTRM-2823
Apr 28, 2026
Merged

Remove redundant constraints - tickets/INSTRM-2823#97
wtgee merged 1 commit intomasterfrom
tickets/INSTRM-2823

Conversation

@wtgee
Copy link
Copy Markdown
Member

@wtgee wtgee commented Dec 22, 2025

  • Removes unique constraints from the largest tables.
  • Quick README update.

@kiyoyabe
Copy link
Copy Markdown
Contributor

Is that alembic script generated with alembic revision --autogenerate?

@wtgee
Copy link
Copy Markdown
Member Author

wtgee commented Dec 23, 2025

Is that alembic script generated with alembic revision --autogenerate?

I didn't use --autogenerate because I wrote this first and then applied it to my test database. Does it not look correct?

@kiyoyabe
Copy link
Copy Markdown
Contributor

No, I didn't mean it's wrong. I never saw such lines in autogenerated script, so I was just curious. Anyway, if you tested in a test database, I think it should be fine.

@wtgee
Copy link
Copy Markdown
Member Author

wtgee commented Dec 23, 2025

Yes, I tested upgrade and downgrade on my copy of the db and it worked fine. It took about a minute to run.

* Removes unique constraints from the largest tables.
* Quick README update.

Updating the downgrade number
@wtgee wtgee force-pushed the tickets/INSTRM-2823 branch from 84ce983 to 3075d32 Compare April 27, 2026 19:48
@wtgee wtgee merged commit a727ec0 into master Apr 28, 2026
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.

2 participants