diff --git a/src/Migrations/Version20240827110317.php b/src/Migrations/Version20240827110317.php new file mode 100644 index 0000000000..ddf8a50788 --- /dev/null +++ b/src/Migrations/Version20240827110317.php @@ -0,0 +1,37 @@ +isAppMigrationNotInstalledRemoveIfExists('Version20200129140317')) { + foreach ($this->getAllDomainIds() as $domainId) { + $this->sql( + 'INSERT INTO "setting_values" ("name", "domain_id", "value", "type") VALUES + (\'transferDaysBetweenStocks\', :domainId, \'1\', \'integer\')', + ['domainId' => $domainId], + ); + } + } + } + + /** + * @param \Doctrine\DBAL\Schema\Schema $schema + */ + public function down(Schema $schema): void + { + } +}