diff --git a/src/Bundle/ChillPersonBundle/migrations/Version20220119155944.php b/src/Bundle/ChillPersonBundle/migrations/Version20220119155944.php index e35bf12d7..a4d2e5575 100644 --- a/src/Bundle/ChillPersonBundle/migrations/Version20220119155944.php +++ b/src/Bundle/ChillPersonBundle/migrations/Version20220119155944.php @@ -19,7 +19,6 @@ final class Version20220119155944 extends AbstractMigration public function up(Schema $schema): void { - // this up() migration is auto-generated, please modify it to your needs $this->addSql('CREATE SEQUENCE chill_person_resource_id_seq INCREMENT BY 1 MINVALUE 1 START 1'); $this->addSql('CREATE SEQUENCE chill_person_resource_kind_id_seq INCREMENT BY 1 MINVALUE 1 START 1'); $this->addSql('CREATE TABLE chill_person_resource (id INT NOT NULL, person_id INT DEFAULT NULL, kind_id INT DEFAULT NULL, freeText TEXT DEFAULT NULL, createdAt TIMESTAMP(0) WITHOUT TIME ZONE NOT NULL, updatedAt TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL, comment_comment TEXT DEFAULT NULL, comment_date TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL, comment_userId INT DEFAULT NULL, personOwner_id INT NOT NULL, thirdParty_id INT DEFAULT NULL, createdBy_id INT NOT NULL, updatedBy_id INT DEFAULT NULL, PRIMARY KEY(id))'); @@ -40,8 +39,6 @@ final class Version20220119155944 extends AbstractMigration public function down(Schema $schema): void { - // this down() migration is auto-generated, please modify it to your needs - $this->addSql('ALTER TABLE chill_person_resource DROP CONSTRAINT FK_FA5B7D9230602CA9'); $this->addSql('DROP SEQUENCE chill_person_resource_id_seq CASCADE'); $this->addSql('DROP SEQUENCE chill_person_resource_kind_id_seq CASCADE'); $this->addSql('DROP TABLE chill_person_resource');