Add debug command to list all tracked/excluded Statements and critical tables
Closed this issue · 0 comments
ismail1432 commented
It would be cool to have a debug command like this:
eniams:safe-migrations:debug
that output something like this:
Statement that emit a warning
Class | Statement | Message |
---|---|---|
Eniams\SafeMigrationsBundle\Statement\NotNullStatement | Not Null | The migration contains a NOT NULL statement, it's unsafe on heavy table and should be compliant with Zero downtime deployment |
Eniams\SafeMigrationsBundle\Statement\DropStatement | Drop | The migration contains a DROP statement, it's unsafe on heavy table and should be compliant with Zero downtime deployment |
Excluded Statement
Class |
---|
Eniams\SafeMigrationsBundle\Statement\RenameStatement |
Critical Tables
- user
- product
- ...