add button to create an issue #13

Merged
lubiana merged 2 commits from add-git-button into main 2024-06-15 16:48:20 +00:00
2 changed files with 5 additions and 2 deletions

View file

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

View file

@ -12,6 +12,10 @@
<nav> <nav>
<a href="{{ path('app_food_order_index') }}">Orders</a> <a href="{{ path('app_food_order_index') }}">Orders</a>
<a href="{{ path('app_food_vendor_index') }}">Vendors</a> <a href="{{ path('app_food_vendor_index') }}">Vendors</a>
<a
href="https://hannover.ccc.de/gitlab/lubiana/futtern/issues/new"
target="_blank"
>Create Issue</a>
</nav> </nav>
</header> </header>