Open dolzenko opened 1 month ago
Hey @dolzenko!
The planner can be smarter here, by adding pre-migration checks and let you control the type conversion. For now, I'll suggest you to run schema apply
with the --edit
flag and modify this statement.
I'll keep this issue open and assign it to myself.
I'm using
atlas schema apply
with 2 DBs, one has the column lang_code defined as TEXT another as ENUM, so Atlas generates the ALTER TABLE but it can't proceed. Is that a bug in convergence code?What I mean by that is that it could easily see that this won't work and warn me some time earlier on, or is it by design?