CompleteRemovedLegacyLogMigration.php
3 years ago
CreateNewLogTable.php
4 years ago
DeleteOldLogTables.php
4 years ago
MigrateExistingLogs.php
4 years ago
RemoveSensitiveLogs.php
4 years ago
CompleteRemovedLegacyLogMigration.php
48 lines
| 1 | <?php |
| 2 | |
| 3 | namespace Give\Log\Migrations; |
| 4 | |
| 5 | use Give\Framework\Migrations\Contracts\Migration; |
| 6 | |
| 7 | /** |
| 8 | * @since 2.21.2 |
| 9 | */ |
| 10 | class CompleteRemovedLegacyLogMigration extends Migration |
| 11 | { |
| 12 | /** |
| 13 | * @since 2.21.2 |
| 14 | * @inheritdoc |
| 15 | */ |
| 16 | public static function id(): string |
| 17 | { |
| 18 | return 'complete-removed-legacy-log-migration'; |
| 19 | } |
| 20 | |
| 21 | /** |
| 22 | * @since 2.21.2 |
| 23 | * @inheritdoc |
| 24 | */ |
| 25 | public static function timestamp() |
| 26 | { |
| 27 | return strtotime('2022-06-16'); |
| 28 | } |
| 29 | |
| 30 | /** |
| 31 | * @since 2.21.2 |
| 32 | * @inheritdoc |
| 33 | */ |
| 34 | public static function title() |
| 35 | { |
| 36 | return esc_html__('Remove legacy Log table', 'give'); |
| 37 | } |
| 38 | |
| 39 | /** |
| 40 | * @since 2.21.2 |
| 41 | * @inheritdoc |
| 42 | */ |
| 43 | public function run() |
| 44 | { |
| 45 | give_set_upgrade_complete('v20_logs_upgrades'); |
| 46 | } |
| 47 | } |
| 48 |