Skip to content

Commit

Permalink
Workaround for Doctrine Migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
pierres committed Dec 28, 2020
1 parent c32c3cf commit 14ae921
Show file tree
Hide file tree
Showing 14 changed files with 70 additions and 0 deletions.
5 changes: 5 additions & 0 deletions api/migrations/Version20180101000000.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,4 +63,9 @@ public function down(Schema $schema): void
$this->addSql('DROP TABLE releng_release');
$this->addSql('DROP TABLE files');
}

public function isTransactional(): bool
{
return false;
}
}
5 changes: 5 additions & 0 deletions api/migrations/Version20181230070059.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,9 @@ public function down(Schema $schema): void

$this->addSql('ALTER TABLE news_item DROP slug');
}

public function isTransactional(): bool
{
return false;
}
}
5 changes: 5 additions & 0 deletions api/migrations/Version20181230072002.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@ public function down(Schema $schema): void

$this->addSql('DROP INDEX UNIQ_CAC6D395989D9B62 ON news_item');
}

public function isTransactional(): bool
{
return false;
}
}
5 changes: 5 additions & 0 deletions api/migrations/Version20190601110936.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,9 @@ public function down(Schema $schema): void
{
$this->warnIf(true, 'Removal of orphaned files cannot be reverted');
}

public function isTransactional(): bool
{
return false;
}
}
5 changes: 5 additions & 0 deletions api/migrations/Version20191118191929.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,9 @@ public function down(Schema $schema): void
$this->addSql('ALTER TABLE releng_release CHANGE md5_sum md5sum VARCHAR(32) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE sha1_sum sha1sum VARCHAR(40) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`');
// phpcs:enable
}

public function isTransactional(): bool
{
return false;
}
}
5 changes: 5 additions & 0 deletions api/migrations/Version20191224224452.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ public function down(Schema $schema): void
);
$this->addSql('CREATE UNIQUE INDEX UNIQ_CAC6D395989D9B62 ON news_item (slug)');
}

public function isTransactional(): bool
{
return false;
}
}
5 changes: 5 additions & 0 deletions api/migrations/Version20191227113132.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@ public function down(Schema $schema): void

$this->addSql('ALTER TABLE repository ADD mTime DATETIME DEFAULT NULL, DROP sha256sum');
}

public function isTransactional(): bool
{
return false;
}
}
5 changes: 5 additions & 0 deletions api/migrations/Version20191227125505.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@ public function down(Schema $schema): void

$this->addSql('ALTER TABLE package ADD mTime DATETIME DEFAULT NULL');
}

public function isTransactional(): bool
{
return false;
}
}
5 changes: 5 additions & 0 deletions api/migrations/Version20191229122108.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@ public function down(Schema $schema): void

$this->addSql('DROP INDEX UNIQ_DE6867955E237E0650C9D4F7 ON package');
}

public function isTransactional(): bool
{
return false;
}
}
5 changes: 5 additions & 0 deletions api/migrations/Version20200127181847.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,9 @@ public function down(Schema $schema): void
);
// phpcs:enable
}

public function isTransactional(): bool
{
return false;
}
}
5 changes: 5 additions & 0 deletions api/migrations/Version20200516121823.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,9 @@ public function down(Schema $schema): void

$this->addSql('ALTER TABLE package DROP popularity');
}

public function isTransactional(): bool
{
return false;
}
}
5 changes: 5 additions & 0 deletions api/migrations/Version20200531072522.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,9 @@ public function down(Schema $schema): void

$this->addSql('ALTER TABLE mirror ADD active TINYINT(1) DEFAULT NULL');
}

public function isTransactional(): bool
{
return false;
}
}
5 changes: 5 additions & 0 deletions api/migrations/Version20200531074201.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,9 @@ public function down(Schema $schema): void
);
// phpcs:enable
}

public function isTransactional(): bool
{
return false;
}
}
5 changes: 5 additions & 0 deletions api/migrations/Version20200531080135.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,9 @@ public function down(Schema $schema): void

$this->addSql('ALTER TABLE mirror ADD isos TINYINT(1) NOT NULL');
}

public function isTransactional(): bool
{
return false;
}
}

0 comments on commit 14ae921

Please sign in to comment.