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
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
- 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 runningmigrate
reorder
- whether to sort and normalize rows ofmigrations
dumped 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
migrate
whenmigrations
table is empty/absent to avoid data loss - Sqlite support
Fix for Mysql
- Fix Mysql dumps including
AUTO_INCREMENT
values
Initial, beta relase
- Support auto loading from dump file before
migrate
, dumping aftermigrate
- Adds
migrate:dump
andmigrate:load
commands - Works with MySQL and PostgreSQL databases