Skip to content

Releases: kitloong/laravel-migrations-generator

v5.2.0

09 Feb 03:33
434237e
Compare
Choose a tag to compare
  • Support Laravel 9

5.1.2

07 Jan 16:51
b539178
Compare
Choose a tag to compare
  • Fixed memory issue when getting table names. #68

5.1.1

11 Dec 16:07
ded1b97
Compare
Choose a tag to compare
  • Fixed error in postgres timestamp column. #58
  • Generate xml as text. #61
  • spatialIndex() should not receive name. #62

5.1.0

04 Nov 06:54
836f634
Compare
Choose a tag to compare
  • Generator will now generate views. #33
  • --tables and --ignore support table names without quote. #49
  • PosgreSQL will now generate tables from specified schema.
  • Update UT

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