Files
piratepoet/mailpoet/lib/Migrator/AppMigrationTemplate.php
Jan Jakes fb63b40475 Fix namespaces of generated migrations
[MAILPOET-5568]
2023-09-20 02:36:40 -07:00

23 lines
754 B
PHP

<?php declare(strict_types = 1);
namespace MailPoet\Migrations\App;
use MailPoet\Migrator\AppMigration;
class AppMigrationTemplate extends AppMigration {
public function run(): void {
/*
* TODO: Implement the migration logic here and remove this comment.
*
* App Level migration are intended for data migrations that use application level services.
* The application level services require the DB structure to be up to date so they run after all DB migrations.
*
* Do not make changes in the DB structure in App Level migrations!
*
* You can use:
* $this->entityManager For operations using Doctrine Entity Manager.
* $this->container For accessing any needed service.
*/
}
}