12345678910111213141516171819202122232425262728293031 |
- <?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 Version20250722224212 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 user CHANGE last_update last_update DATE DEFAULT NULL, CHANGE last_login last_login DATE DEFAULT NULL, CHANGE last_action last_action DATE DEFAULT NULL');
- }
- public function down(Schema $schema): void
- {
- // this down() migration is auto-generated, please modify it to your needs
- $this->addSql('ALTER TABLE user CHANGE last_update last_update DATE NOT NULL, CHANGE last_login last_login DATE NOT NULL, CHANGE last_action last_action DATE NOT NULL');
- }
- }
|