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

make migrate collect cannot detect changes to the unique constraint change #200

Open
thelissimus-work opened this issue Mar 13, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@thelissimus-work
Copy link
Contributor

Old:

CREATE TABLE passports (
    ...
    passport_number varchar(20) UNIQUE,
    series varchar(20),
    ...
);

New:

CREATE TABLE passports (
    ...
    passport_number varchar(20),
    series varchar(20),
    ...
    UNIQUE(passport_number, series)
);

Running make migrate collect doesn't detect changes.

@thelissimus-work thelissimus-work added the bug Something isn't working label Mar 13, 2025
@diyor28 diyor28 added this to SDK core Mar 13, 2025
@diyor28
Copy link
Contributor

diyor28 commented Mar 13, 2025

When implementing this make sure to add a test case to make sure this doesn't repeat in the future

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

2 participants