migrations deleted

This commit is contained in:
2022-04-26 20:19:40 +02:00
parent 064286aa2f
commit 64b5de2c03
3 changed files with 0 additions and 370 deletions

View File

@@ -1,34 +0,0 @@
<?php
declare(strict_types=1);
namespace Chill\Migrations\Calendar;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20220425131140 extends AbstractMigration
{
public function getDescription(): string
{
return 'Add private comment to calendar';
}
public function up(Schema $schema): void
{
$this->addSql('ALTER TABLE chill_calendar.calendar ADD prcomment_comment TEXT DEFAULT NULL');
$this->addSql('ALTER TABLE chill_calendar.calendar ADD prcomment_date TIMESTAMP(0) WITHOUT TIME ZONE DEFAULT NULL');
$this->addSql('ALTER TABLE chill_calendar.calendar ADD prcomment_userId INT DEFAULT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE chill_calendar.calendar DROP prcomment_comment');
$this->addSql('ALTER TABLE chill_calendar.calendar DROP prcomment_date');
$this->addSql('ALTER TABLE chill_calendar.calendar DROP prcomment_userId');
}
}