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

Warn on migration directory ID collisions #2

Closed
jdkaplan opened this issue Oct 22, 2022 · 1 comment
Closed

Warn on migration directory ID collisions #2

jdkaplan opened this issue Oct 22, 2022 · 1 comment

Comments

@jdkaplan
Copy link
Owner

When copying around some migration directories, I found myself in a situation where I had two 0000000001-* directories, and nothing complained about it!

Print a warning (or maybe even error?) if there are duplicate migration IDs when scanning the migration directories.

@jdkaplan jdkaplan changed the title Warn if multiple migration directories share an ID Warn on migration directory ID collisions Oct 22, 2022
@jdkaplan
Copy link
Owner Author

jdkaplan commented Jul 9, 2023

Fixed as part of #47. This will now error before creating the directory if its ID would collide with an existing migration directory.

@jdkaplan jdkaplan closed this as completed Jul 9, 2023
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

1 participant