- Added
--squash
option. Generate all migrations into a single file. #20 - Added
--date
option. Migrations will be created with specified date. Foreign keys will be crated for specified time + 1 second. Date should be in format suitable forCarbon::parse
. - Added
--table-filename
option. Define table migration filename, default pattern:[datetime_prefix]_create_[table]_table.php
. - Added
--fk-filename
option. Define foreign key migration filename, default pattern:[datetime_prefix]_add_foreign_keys_to_[table]_table.php
. - Converted all options into
kebab-case
. - Added
phpstan
. - Improved unit tests.
- Refactored code.