fix migration
All checks were successful
/ ls (pull_request) Successful in 29s
/ ls (push) Successful in 30s

This commit is contained in:
Jonas 2024-06-15 18:47:33 +02:00
parent f4c2cd95d5
commit 167ece94d4
Signed by: lubiana
SSH key fingerprint: SHA256:gkqM8DUX4Blf6P52fycW8ISTd+4eAHH+Uzu9iyc8hAM

View file

@ -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)');