cycle/migrations

Preserve original column type while generating the migration

wolfy-j opened this issue · 2 comments

Preserve original column type while generating the migration

it doesn't work for json either. when I generate the migration from cycle annotations, it will already set text in the migration, so it will be borked when i run it on postgres

So far it will reliably work if you run migrations on the same database type. Generating on migrations on SQLite will obfuscate schema data.