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

MySQL CONSTRAINT CHECK does not update (ALTER) #3206

Closed
craigmonson opened this issue Oct 29, 2024 · 1 comment
Closed

MySQL CONSTRAINT CHECK does not update (ALTER) #3206

craigmonson opened this issue Oct 29, 2024 · 1 comment

Comments

@craigmonson
Copy link

Trying to update aCONSTRAINT CHECK on a table and, when running atlas migrate diff, it reports that there's no differece.

original:

  check "start_hour" {
    expr = "(`start_hour_ending` between 1 and 24)"
  }

updated (changed 24 to 25):

  check "start_hour" {
    expr = "(`start_hour_ending` between 1 and 25)"
  }

atlas reports: The migration directory is synced with the desired state, no changes to be made

%> atlas version
atlas version v0.28.1
https://github.com/ariga/atlas/releases/tag/v0.28.1
@a8m
Copy link
Member

a8m commented Oct 31, 2024

Thanks for reporting this, @craigmonson. Issue was resolved with #3208.

@a8m a8m closed this as completed Oct 31, 2024
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

2 participants