Skip to content

5.0.0

Compare
Choose a tag to compare
@kitloong kitloong released this 27 Sep 12:28
· 52 commits to 5.x since this release
  • 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 for Carbon::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.