Skip to content

Conversation

@YPares
Copy link
Contributor

@YPares YPares commented Sep 27, 2022

Adds a test that exhibits #180 and provides a quickfix that is probably not great in the postgresql case.

@YPares YPares force-pushed the test-migration-uuids branch from 6770b96 to 00447dc Compare October 5, 2022 11:47
newName = mkTableName $ mconcat ["__selda_migration_", rawTableName (tableName t2)]
renameQuery = mconcat
[ "ALTER TABLE ", newName
[ "ALTER TABLE ", fromTableName newName
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@YPares just curious, is there any reason why taking this through mk&from-TableName is more viable? (sounds same to me so probably OK.)

Copy link
Collaborator

@exaexa exaexa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@YPares is there any usecase that would be broken by adding this? (I assume not, except for cases where people expect migration from blob to UUID to fail, but that's hardly a breakage right?)

@valderman I guess thsi is OK, any opinions?

@exaexa exaexa requested a review from valderman October 25, 2025 11: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.

2 participants