Skip to content

Releases: orisintel/laravel-migration-snapshot

First stable release

09 May 01:58
4312ace
Compare
Choose a tag to compare
  • Add configuration file migration-snapshot.php
  • Implicitly dump after migrate:rollback
  • Reorder migrations rows within dumps to avoid noise in source control as migrations are developed in parallel
  • Trim leading underscores from names of foreign key constraints with Mysql to workaround pt-online-schema-change quirk
  • Append new line to the end of all dumps, not only Sqlite, for simpler diffs in source control

Add Configuration

30 Apr 16:15
Compare
Choose a tag to compare
Add Configuration Pre-release
Pre-release
  • Changes from hard-coded blacklist of 'production' environment to whitelist of environments
  • New configuration file migration-snapshot.php
    • environments - customize where it's appropriate to auto dump/load when running migrate
    • reorder - whether to sort and normalize rows of migrations dumped for consistency

Fix for Mysql Dump

23 Apr 20:25
Compare
Choose a tag to compare
Fix for Mysql Dump Pre-release
Pre-release
  • Fix inconsistent spacing after removing AUTO_INCREMENT values from MySQL when dumping SQL

Fix overzealous implicit load and Sqlite support

05 Apr 14:33
Compare
Choose a tag to compare
  • Only implicitly loads on migrate when migrations table is empty/absent to avoid data loss
  • Sqlite support

Fix for Mysql

04 Apr 17:05
Compare
Choose a tag to compare
Fix for Mysql Pre-release
Pre-release
  • Fix Mysql dumps including AUTO_INCREMENT values

Initial, beta relase

03 Apr 20:33
Compare
Choose a tag to compare
Initial, beta relase Pre-release
Pre-release
  • Support auto loading from dump file before migrate, dumping after migrate
  • Adds migrate:dump and migrate:load commands
  • Works with MySQL and PostgreSQL databases