From 7c8fa0c43997a670aa9d221f558334c15460e924 Mon Sep 17 00:00:00 2001 From: Brock H Caldwell Date: Tue, 8 Jul 2025 18:47:10 -0500 Subject: [PATCH] fix: migration --- migrations/Version20250708033046.php | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/migrations/Version20250708033046.php b/migrations/Version20250708033046.php index 0be48cc..4d6e55f 100644 --- a/migrations/Version20250708033046.php +++ b/migrations/Version20250708033046.php @@ -20,12 +20,6 @@ final class Version20250708033046 extends AbstractMigration public function up(Schema $schema): void { // this up() migration is auto-generated, please modify it to your needs - $this->addSql(<<<'SQL' - DROP TABLE IF EXISTS sessions - SQL); - $this->addSql(<<<'SQL' - ALTER TABLE download CHANGE created_at created_at DATETIME NOT NULL, CHANGE updated_at updated_at DATETIME NOT NULL - SQL); $this->addSql(<<<'SQL' ALTER TABLE monitor ADD only_future TINYINT(1) NOT NULL DEFAULT 1 SQL); @@ -34,14 +28,8 @@ final class Version20250708033046 extends AbstractMigration public function down(Schema $schema): void { // this down() migration is auto-generated, please modify it to your needs - $this->addSql(<<<'SQL' - CREATE TABLE sessions (sess_id VARBINARY(128) NOT NULL, sess_data LONGBLOB NOT NULL, sess_lifetime INT UNSIGNED NOT NULL, sess_time INT UNSIGNED NOT NULL, INDEX sess_lifetime_idx (sess_lifetime), PRIMARY KEY(sess_id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_bin` ENGINE = InnoDB COMMENT = '' - SQL); $this->addSql(<<<'SQL' ALTER TABLE monitor DROP only_future SQL); - $this->addSql(<<<'SQL' - ALTER TABLE download CHANGE created_at created_at DATETIME DEFAULT NULL, CHANGE updated_at updated_at DATETIME DEFAULT NULL - SQL); } }