From 167ece94d45c53744b4911c4497ce6e04adb481f Mon Sep 17 00:00:00 2001 From: lubiana Date: Sat, 15 Jun 2024 18:47:33 +0200 Subject: [PATCH] fix migration --- .../{Version20240614153440.php => Version20240615164453.php} | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) rename migrations/{Version20240614153440.php => Version20240615164453.php} (93%) diff --git a/migrations/Version20240614153440.php b/migrations/Version20240615164453.php similarity index 93% rename from migrations/Version20240614153440.php rename to migrations/Version20240615164453.php index bc9b3d5..2aabe97 100644 --- a/migrations/Version20240614153440.php +++ b/migrations/Version20240615164453.php @@ -10,7 +10,7 @@ use Doctrine\Migrations\AbstractMigration; /** * Auto-generated Migration: Please modify to your needs! */ -final class Version20240614153440 extends AbstractMigration +final class Version20240615164453 extends AbstractMigration { public function getDescription(): string { @@ -22,7 +22,6 @@ final class Version20240614153440 extends AbstractMigration // this up() migration is auto-generated, please modify it to your needs $this->addSql('CREATE TABLE food_order (id BLOB NOT NULL --(DC2Type:ulid) , food_vendor_id BLOB NOT NULL --(DC2Type:ulid) - , created_at DATETIME NOT NULL --(DC2Type:datetime_immutable) , closed_at DATETIME DEFAULT NULL --(DC2Type:datetime_immutable) , PRIMARY KEY(id), CONSTRAINT FK_44856726EF983E8 FOREIGN KEY (food_vendor_id) REFERENCES food_vendor (id) NOT DEFERRABLE INITIALLY IMMEDIATE)'); $this->addSql('CREATE INDEX IDX_44856726EF983E8 ON food_order (food_vendor_id)');