zeffirara / shitty-schema-shenanigans Goto Github PK
View Code? Open in Web Editor NEWTakes a simple mysql schema creation script, reads the foreign key constraints from it and dumps alter table add constraint commands for them in a separate file. Useful for doing migrations.