Releases: masom/lhm_php
Releases · masom/lhm_php
0.5.1 - Re-enable PHP 5.6
0.5.0 - PHP 7 / Phinx 0.8.0
This release just refreshes development dependencies and requires PHP 7, nothing else has changed.
0.4.3
Fix chunker on non `id` primary keys
- The chunker had a bug preventing it from operating on non
idprimary keys.
Thanks to @tristanpemble for the fix.
0.4.1
0.4.0
0.3.7
0.3.4 - Rename column
- Supports renaming columns
- Added
\Lhm\Tableto keep track of renames - Added
\Lhm\Intersectionto compute origin and destination columns
0.3.3 - Locked Switcher
LockedSwitcherimplemented.Lhm\Lhm::changeTable($name, function(Table $table){}, $options)now takes the options to forceatomic_switch.
Fixed SqlHelper::versionString()
0.3.2 - Lhm::Cleanup
New features
\Lhm\Lhm::cleanup($run, $options)andbin\lhm
Breaking Changes
This commit introduces a breaking change on the LHM API.
LHM should now be configured with \Lhm\Lhm::setAdapter(AdapterInterface $adapter) instead of passing a MigrationInterface instance to \Lhm\Lhm::changeTable.
before
\Lhm\Lhm::changeTable($this, $name, function(){}, $options);after:
\Lhm\Lhm::setAdapter($this->getAdapter());
\Lhm\Lhm::changeTable($name, function(){}, $options);