From 55b8c540165a2f77acac71f45107e9674d3ee367 Mon Sep 17 00:00:00 2001
From: jkindly <kozupa.jakub@gmail.com>
Date: Tue, 25 Jun 2024 13:54:24 +0200
Subject: [PATCH] OP-321: Remove wrong migration

---
 src/Migrations/Version20240621093611.php | 37 ------------------------
 1 file changed, 37 deletions(-)
 delete mode 100644 src/Migrations/Version20240621093611.php

diff --git a/src/Migrations/Version20240621093611.php b/src/Migrations/Version20240621093611.php
deleted file mode 100644
index 8eab82fe..00000000
--- a/src/Migrations/Version20240621093611.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-
-declare(strict_types=1);
-
-namespace BitBag\SyliusCmsPlugin\Migrations;
-
-use Doctrine\DBAL\Schema\Schema;
-use Doctrine\Migrations\AbstractMigration;
-
-/**
- * Auto-generated Migration: Please modify to your needs!
- */
-final class Version20240621093611 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('CREATE TABLE bitbag_cms_block_content (id INT AUTO_INCREMENT NOT NULL, block_id INT DEFAULT NULL, type VARCHAR(255) NOT NULL, configuration JSON NOT NULL COMMENT \'(DC2Type:json)\', INDEX IDX_FAA763A8E9ED820C (block_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
-        $this->addSql('ALTER TABLE bitbag_cms_block_content ADD CONSTRAINT FK_FAA763A8E9ED820C FOREIGN KEY (block_id) REFERENCES bitbag_cms_block (id)');
-        $this->addSql('ALTER TABLE bitbag_cms_block ADD name VARCHAR(250) DEFAULT NULL');
-        $this->addSql('ALTER TABLE bitbag_cms_block_translation DROP name, DROP link');
-    }
-
-    public function down(Schema $schema): void
-    {
-        // this down() migration is auto-generated, please modify it to your needs
-        $this->addSql('ALTER TABLE bitbag_cms_block_content DROP FOREIGN KEY FK_FAA763A8E9ED820C');
-        $this->addSql('DROP TABLE bitbag_cms_block_content');
-        $this->addSql('ALTER TABLE bitbag_cms_block_translation ADD name VARCHAR(255) DEFAULT NULL, ADD link LONGTEXT DEFAULT NULL');
-        $this->addSql('ALTER TABLE bitbag_cms_block DROP name');
-    }
-}