Add games per week to season object and preferred day of week for team object

This commit is contained in:
Daniel Guzman
2024-07-14 11:47:21 +02:00
parent c72fd1dfc9
commit 3e6e4ea6e5
390 changed files with 402 additions and 13853 deletions
+33
View File
@@ -0,0 +1,33 @@
<?php
declare(strict_types=1);
namespace DoctrineMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20240714094237 extends AbstractMigration
{
public function getDescription(): string
{
return '';
}
public function up(Schema $schema): void
{
// this up() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE season ADD games_per_week INT DEFAULT NULL');
$this->addSql('ALTER TABLE team ADD day_of_the_week_for_home_game VARCHAR(255) DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE season DROP games_per_week');
$this->addSql('ALTER TABLE team DROP day_of_the_week_for_home_game');
}
}