dbsrgits / sql-translator

SQL::Translator (SQLFairy)
http://sqlfairy.sourceforge.net/
82 stars 91 forks source link

Sometimes, we get DROP+ADD column instead of a simple rename #139

Open rabbiveesh opened 2 years ago

rabbiveesh commented 2 years ago

jjn1056/DBIx-Class-Migration#145 is a bug report for DBICM, where upgrade scripts work correctly, but downgrade scripts don't use the short version.

@KES777 could you share a snipped version of the autogenerated YAML files from the 2 versions? I believe that's how DBICM makes the diff. Once I have that, we can work on diagnosing and/or fixing the problem

KES777 commented 2 years ago

v5 001-auto.sql.txt

KES777 commented 2 years ago

v4 001-auto.sql.txt

KES777 commented 1 year ago

@rabbiveesh Hello. I saw recent updates. Is there a chance to move forward on this?