Files
sprawozdania/project/migrations/Version20240628094637.php
T
2024-07-25 10:54:27 +02:00

34 lines
933 B
PHP

<?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 Version20240628094637 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 clients ADD is_deleted TINYINT(1) DEFAULT 0 NOT NULL');
$this->addSql('ALTER TABLE reports ADD is_delete 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 clients DROP is_deleted');
$this->addSql('ALTER TABLE reports DROP is_delete');
}
}