src/Migrations/Version20201214093741.php line 1
<?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 Version20201214093741 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 contacts ADD owner_deleted TINYINT(1) DEFAULT \'0\' NOT NULL');
$this->addSql('ALTER TABLE files ADD owner_deleted TINYINT(1) DEFAULT \'0\' NOT NULL');
$this->addSql('ALTER TABLE forum_thread ADD owner_deleted TINYINT(1) DEFAULT \'0\' NOT NULL');
$this->addSql('ALTER TABLE links ADD owner_deleted TINYINT(1) DEFAULT \'0\' NOT NULL');
$this->addSql('ALTER TABLE material ADD owner_deleted TINYINT(1) DEFAULT \'0\' NOT NULL');
$this->addSql('ALTER TABLE news ADD owner_deleted TINYINT(1) DEFAULT \'0\' NOT NULL');
$this->addSql('ALTER TABLE reviews ADD owner_deleted TINYINT(1) DEFAULT \'0\' NOT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE contacts DROP owner_deleted');
$this->addSql('ALTER TABLE files DROP owner_deleted');
$this->addSql('ALTER TABLE forum_thread DROP owner_deleted');
$this->addSql('ALTER TABLE links DROP owner_deleted');
$this->addSql('ALTER TABLE material DROP owner_deleted');
$this->addSql('ALTER TABLE news DROP owner_deleted');
$this->addSql('ALTER TABLE reviews DROP owner_deleted');
}
}