Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 719 Bytes

UPGRADING.md

File metadata and controls

7 lines (5 loc) · 719 Bytes

Upgrading

4.X -> 5.X

  • New migration new file added which adds a new composite unique index to the meta table on metable_type, metable_id, and key. Make sure that you have no duplicate keys for a given entity (previously possible as a race condition) before applying the new migration.

3.X -> 4.X

  • Database migration files are now served from within the package. In your migrations table, rename the XXXX_XX_XX_XXXXXX_create_meta_table.php entry to 2017_01_01_000000_create_meta_table.php and delete your local copy of the migration file from the /database/migrations directory. If any customizations were made to the table, those should be defined as one or more separate ALTER table migrations.