First of all, thank you for your project! It's saving me a lot of time in being able to bring migrations into a new project for an old database.
With this old database, many of the columns specify a charset or collation that differs from that of the table or schema. Likewise many of the tables have varying charsets/collations. I figured I'm not the only one to run into this situation.
As well, I made some small adjustments to the shell script, wrapping filenames in quotes and fixing a small bug for a conditional test. I also reduced some of the extra new lines in the resulting migration. And I made a minor bump in the version.
Hopefully this is something that can be helpful to others! Any feedback is appreciated.
First of all, thank you for your project! It's saving me a lot of time in being able to bring migrations into a new project for an old database.
With this old database, many of the columns specify a charset or collation that differs from that of the table or schema. Likewise many of the tables have varying charsets/collations. I figured I'm not the only one to run into this situation.
As well, I made some small adjustments to the shell script, wrapping filenames in quotes and fixing a small bug for a conditional test. I also reduced some of the extra new lines in the resulting migration. And I made a minor bump in the version.
Hopefully this is something that can be helpful to others! Any feedback is appreciated.