chore: remove SQL create schema

This commit is contained in:
Maël Gangloff 2024-08-07 00:28:41 +02:00
parent 3eaa7fa180
commit 64a583b528
No known key found for this signature in database
GPG Key ID: 11FDC81C24A7F629
2 changed files with 0 additions and 2 deletions

View File

@ -28,7 +28,6 @@ final class Version20240806170123 extends AbstractMigration
public function down(Schema $schema): void public function down(Schema $schema): void
{ {
// this down() migration is auto-generated, please modify it to your needs // this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE SCHEMA public');
$this->addSql('ALTER TABLE domain_entity DROP updated_at'); $this->addSql('ALTER TABLE domain_entity DROP updated_at');
} }
} }

View File

@ -35,7 +35,6 @@ final class Version20240806222018 extends AbstractMigration
public function down(Schema $schema): void public function down(Schema $schema): void
{ {
// this down() migration is auto-generated, please modify it to your needs // this down() migration is auto-generated, please modify it to your needs
$this->addSql('CREATE SCHEMA public');
$this->addSql('ALTER TABLE watch_list_trigger DROP CONSTRAINT fk_cf857a4cc4508918'); $this->addSql('ALTER TABLE watch_list_trigger DROP CONSTRAINT fk_cf857a4cc4508918');
$this->addSql('ALTER TABLE watch_list_trigger ADD CONSTRAINT fk_cf857a4cc4508918 FOREIGN KEY (watch_list_id) REFERENCES watch_list (token) NOT DEFERRABLE INITIALLY IMMEDIATE'); $this->addSql('ALTER TABLE watch_list_trigger ADD CONSTRAINT fk_cf857a4cc4508918 FOREIGN KEY (watch_list_id) REFERENCES watch_list (token) NOT DEFERRABLE INITIALLY IMMEDIATE');
$this->addSql('ALTER TABLE watch_list DROP CONSTRAINT fk_152b584ba76ed395'); $this->addSql('ALTER TABLE watch_list DROP CONSTRAINT fk_152b584ba76ed395');