Skip to content
Snippets Groups Projects

is needed

Merged Bartek Jaskulski requested to merge is-needed into main
1 unresolved thread
2 files
+ 40
29
Compare changes
  • Side-by-side
  • Inline

Files

+ 6
0
# WP Migrations Changelog
## [1.1.0] - 09-11-2024
### Added
- New method to migration classes: `is_needed()` which can return false to skip specific migration version execution.
### Removed
- Removed `AbstractMigration::down()` as in WordPress context it is impossible to execute down migrations reliably and the method was never actually used.
## [1.0.4] - 06-10-2023
### Fixed
- Respect status returned from migration. If any error occurred (migration returned false or threw), break migration process.
Loading