migrations/Version20230509162905.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 Version20230509162905 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 the_clone ADD is_camping TINYINT(1) DEFAULT NULL, ADD is_in_base TINYINT(1) NOT NULL, ADD is_satiated TINYINT(1) NOT NULL, ADD is_thirsty TINYINT(1) NOT NULL, ADD is_quenched TINYINT(1) NOT NULL, ADD is_sick TINYINT(1) NOT NULL');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE the_clone DROP is_camping, DROP is_in_base, DROP is_satiated, DROP is_thirsty, DROP is_quenched, DROP is_sick');
}
}