Mike Jolley
435f638011
Apply rules on lib dir
2024-03-21 16:57:59 +01:00
Jan Lysý
f8d99b34bf
Check table exists before altering it
...
[MAILPOET-5896]
2024-02-12 11:50:48 +01:00
Jan Jakes
2b5135474e
Save deleted newsletter in woocommerce purchase stats as NULL
...
[MAILPOET-5845]
2024-02-02 12:48:40 +01:00
Jan Lysý
525c80bac4
Fix PHPStan warnings in lib
...
[MAILPOET-5751]
2023-12-13 11:48:14 +01:00
David Remer
d2d465165d
Remove double log entries before adding unique index
...
[MAILPOET-5630]
2023-10-09 13:20:20 +02:00
Jan Jakes
7fac20fc8c
Make default error value NULL, make data non-nullable
...
[MAILPOET-5599]
2023-09-25 06:10:52 -07:00
Jan Jakes
c5f50b2a47
Fix "Field 'run_number' doesn't have a default value"
...
[MAILPOET-5599]
2023-09-25 06:10:52 -07:00
Brezo Cordero
6388a7307f
Check table exists before altering it
...
[MAILPOET-5590]
2023-09-25 05:48:48 -07:00
Jan Jakes
d7addd8e55
Add migration to fix and add more automation log data
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
Jan Jakes
d730083d22
Fix unintended "ON UPDATE current_timestamp()" on some timestamp columns
...
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00
David Remer
9991ba546a
Separate migration app and db logic
...
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
David Remer
bba7786e7e
Store current order status in revenue statistics
...
[MAILPOET-5485]
2023-09-11 12:14:33 +02:00
Rostislav Wolny
e6e20e3159
Save association to WP post with newsletter
...
This commit adds a simple implementation of ensuring the mailpoet_email post type
has associated NewsletterEntity.
In the future we will need to add support also for saving additional data for
newsletters (subject, sending settings).
[MAILPOET-5365]
2023-08-24 15:44:34 +02:00
Rostislav Wolny
7954f9d74f
Move newly added migrations (after rebase) to correct folders
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
35b7e9177c
Eliminate settings controller from the initial migration
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
f0a8f3bfd3
Eliminate direct access to EntityManager in Db migrations
...
As we don't want to allow working directly with EntityManager in
the Db level migrations this commit replaces direct access with helper
methods from the parent class.
We don't want to allow working with EntityManager since it is considered
high level service and causes errors when DB structure is not up to date.
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
435152281a
Extract App level method from initial Db migration to a new App level migration
...
All these extracted methods contain DB version check so for existing
sites the migration will be just added as completed to the migrations table.
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
7f363a96f5
Refactor Migration_20230111_120000 to work without SettingsController
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
9684285105
Move clearly App level migrations to App directory
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00
Rostislav Wolny
5c4dcb77c5
Move all current migrations to Dd folder
...
[MAILPOET-5416]
2023-07-26 14:01:39 +02:00