Skip to content

Releases: kitloong/laravel-migrations-generator

5.0.1

02 Oct 09:21
Compare
Choose a tag to compare
  • Fixed incorrect message when using --squash

5.0.0

27 Sep 12:28
Compare
Choose a tag to compare
  • 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.

4.5.1

31 Aug 14:01
65a6a2f
Compare
Choose a tag to compare

Use pg_get_constraintdef() to support postgresql >= 12 #44

4.5.0

06 Jul 16:14
b027a1d
Compare
Choose a tag to compare
  • Added --useDBCollation to generate migrations with existing database collation. #23
  • MySQL - Fixed case sensitive issue of MySQL SHOW COLUMNS statement #34
  • PgSQL - Generate _inet4 as text #37
  • PgSQL - Generate default now() with useCurrent() #39
  • Misc bug fixes