Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Major refactoring of Sequel::Migrator
This changes Sequel::Migrator from a module operating as a singleton, to a regular class. Individual migrator runs are now migrator instances, which simplifies much of the code. Previously, almost all methods were public module methods that had to accept arguments, since no state was saved. Now, all state is created in the initialize method, and most methods are private instance methods that use the saved state instead of accepting arguments.
- Loading branch information
1 parent
ae885f4
commit d9b4db7
Showing
2 changed files
with
108 additions
and
61 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters