Releases: orisintel/laravel-migration-snapshot
Releases · orisintel/laravel-migration-snapshot
First stable release
- Add configuration file
migration-snapshot.php - Implicitly dump after
migrate:rollback - Reorder
migrationsrows 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-changequirk - Append new line to the end of all dumps, not only Sqlite, for simpler diffs in source control
Add Configuration
- Changes from hard-coded blacklist of 'production' environment to whitelist of environments
- New configuration file
migration-snapshot.phpenvironments- customize where it's appropriate to auto dump/load when runningmigratereorder- whether to sort and normalize rows ofmigrationsdumped for consistency
Fix for Mysql Dump
- Fix inconsistent spacing after removing AUTO_INCREMENT values from MySQL when dumping SQL
Fix overzealous implicit load and Sqlite support
- Only implicitly loads on
migratewhenmigrationstable is empty/absent to avoid data loss - Sqlite support
Fix for Mysql
- Fix Mysql dumps including
AUTO_INCREMENTvalues
Initial, beta relase
- Support auto loading from dump file before
migrate, dumping aftermigrate - Adds
migrate:dumpandmigrate:loadcommands - Works with MySQL and PostgreSQL databases