This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* This script scans the provided database schemas and generates necesary DDL to remove | |
* zerofill property from table columns | |
* | |
* This code is provided as is, I'm not responsible for any data loss | |
* Review the output before executing it on your DB | |
* Of course, backup your DB first because, you know, sh*t happens | |
*/ |