migrations/Version20220414135758.php line 1

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace DoctrineMigrations;
  4. use Doctrine\DBAL\Schema\Schema;
  5. use Doctrine\Migrations\AbstractMigration;
  6. /**
  7. * Auto-generated Migration: Please modify to your needs!
  8. */
  9. final class Version20220414135758 extends AbstractMigration {
  10. public function getDescription(): string {
  11. return '';
  12. }
  13. public function up(Schema $schema): void {
  14. // this up() migration is auto-generated, please modify it to your needs
  15. $this->addSql('ALTER TABLE tenant_config ADD color VARCHAR(50) DEFAULT NULL');
  16. }
  17. public function down(Schema $schema): void {
  18. // this down() migration is auto-generated, please modify it to your needs
  19. $this->addSql('ALTER TABLE tenant_config DROP color');
  20. }
  21. }