This not a Lipsiadmin Tips, but is a good snippets for those that some times do a big refactoring to their app and want clean their migrations

So we need to create a file like script/schema_to_migrations and add ...

$ script/schema_to_migrations

I know, that this code is not super best but if you want do a refactor tell me ;)