Commit Graph

16 Commits

Author SHA1 Message Date
acd5846f70 Change migration level constants to lowercase
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
871d9fd9f8 Small code and php doc enhancements in MailPoet/Migrator
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
725d81077f Add check for duplicate migrations names when loading migrations
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
ec8b5260dd Improve command for creating new migrations
Use required parameter instead of optional option
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
b4d0b35a1d Small code improvements based on review feedback
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
94d8d28253 Refactor Migrations Repository to return also migrations level
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
8454925e9a Update functionality for generating new migrations to support levels
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
5fd02b2bab Add support for App and Db migrations into Repository and Runner
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
5c4dcb77c5 Move all current migrations to Dd folder
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
092fcb78d0 Rename Migration to DbMigration
We want to distinguish Db and App level migrations. This is the first step.
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
43197bf859 Use 24-hour format in migration timestamps
[MAILPOET-4466]
2022-11-07 10:05:42 +01:00
bd34c4e7ec Ignore index.php in migrations directory
[MAILPOET-4466]
2022-11-07 10:05:42 +01:00
f369fdfa4a Add ./do migrations:new command to generate migration files
[MAILPOET-4466]
2022-11-07 10:05:42 +01:00
dd10389c55 Implement WP CLI command to show migrations info
[MAILPOET-4466]
2022-11-07 10:05:42 +01:00
e9970f3cc8 Implement loading existing migration classes from the filesystem
[MAILPOET-4466]
2022-11-07 10:05:42 +01:00
516c460ace Add repository with the ability to create new migration classes
[MAILPOET-4466]
2022-11-07 10:05:42 +01:00