From 8d66aeeaa1d18e2bcbbadede2c297c3ea79eef71 Mon Sep 17 00:00:00 2001 From: www-data Date: Mon, 23 May 2022 17:16:14 +0200 Subject: [PATCH] FEATURE: Run Flow core migrations --- Migrations/Mysql/Version20190930132259.php | 4 +-- composer.json | 30 +++++++++++++++++++--- 2 files changed, 29 insertions(+), 5 deletions(-) diff --git a/Migrations/Mysql/Version20190930132259.php b/Migrations/Mysql/Version20190930132259.php index 1f97006..2e21251 100644 --- a/Migrations/Mysql/Version20190930132259.php +++ b/Migrations/Mysql/Version20190930132259.php @@ -11,7 +11,7 @@ */ class Version20190930132259 extends AbstractMigration { - public function up(Schema $schema) + public function up(Schema $schema): void { // this up() migration is autogenerated, please modify it to your needs $this->abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on "mysql".'); @@ -19,7 +19,7 @@ public function up(Schema $schema) $this->addSql('CREATE TABLE netlogix_migrationstatus (version VARCHAR(255) NOT NULL, PRIMARY KEY(version)) DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci ENGINE = InnoDB'); } - public function down(Schema $schema) + public function down(Schema $schema): void { // this down() migration is autogenerated, please modify it to your needs $this->abortIf($this->connection->getDatabasePlatform()->getName() != 'mysql', 'Migration can only be executed safely on "mysql".'); diff --git a/composer.json b/composer.json index d02cd13..c84bbaf 100644 --- a/composer.json +++ b/composer.json @@ -1,7 +1,9 @@ { "description": "Custom migrations", "homepage": "http://websolutions.netlogix.de/", - "license": ["MIT"], + "license": [ + "MIT" + ], "name": "netlogix/migrations", "type": "neos-package", "require": { @@ -22,11 +24,33 @@ "extra": { "neos": { "package-key": "Netlogix.Migrations" - } + }, + "applied-flow-migrations": [ + "TYPO3.Form-20160601101500", + "Neos.Twitter.Bootstrap-20161124204912", + "Neos.Form-20161124205254", + "Neos.Party-20161124225257", + "Neos.Kickstart-20161124230102", + "Neos.Imagine-20161124231742", + "Neos.Kickstarter-20161125110814", + "Neos.SwiftMailer-20161130105617", + "Neos.ContentRepository.Search-20161210231100", + "Neos.Seo-20170127154600", + "Neos.Flow-20180415105700", + "Neos.Neos-20180907103800", + "Neos.Neos.Ui-20190319094900", + "Neos.Flow-20190425144900", + "Neos.Flow-20190515215000", + "Neos.Flow-20200813181400", + "Neos.Flow-20201003165200", + "Neos.Flow-20201109224100", + "Neos.Flow-20201205172733", + "Neos.Flow-20201207104500" + ] }, "scripts": { "unit-tests": [ "FLOW_CONTEXT=Testing/Unit bin/phpunit -c phpunit.xml.dist --bootstrap \"Build/BuildEssentials/PhpUnit/UnitTestBootstrap.php\"" ] } -} +} \ No newline at end of file