add button to create an issue #13
1 changed files with 1 additions and 2 deletions
|
@ -10,7 +10,7 @@ use Doctrine\Migrations\AbstractMigration;
|
||||||
/**
|
/**
|
||||||
* Auto-generated Migration: Please modify to your needs!
|
* Auto-generated Migration: Please modify to your needs!
|
||||||
*/
|
*/
|
||||||
final class Version20240614153440 extends AbstractMigration
|
final class Version20240615164453 extends AbstractMigration
|
||||||
{
|
{
|
||||||
public function getDescription(): string
|
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 up() migration is auto-generated, please modify it to your needs
|
||||||
$this->addSql('CREATE TABLE food_order (id BLOB NOT NULL --(DC2Type:ulid)
|
$this->addSql('CREATE TABLE food_order (id BLOB NOT NULL --(DC2Type:ulid)
|
||||||
, food_vendor_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)
|
, 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)');
|
, 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)');
|
$this->addSql('CREATE INDEX IDX_44856726EF983E8 ON food_order (food_vendor_id)');
|
Loading…
Reference in a new issue