<?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 Version20211109123704 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 about_area (id INT AUTO_INCREMENT NOT NULL, image VARCHAR(255) NOT NULL, updated_at DATETIME DEFAULT NULL, is_home_area TINYINT(1) DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE about_area_translation (id INT AUTO_INCREMENT NOT NULL, translatable_id INT DEFAULT NULL, title VARCHAR(255) NOT NULL, subtitle VARCHAR(255) DEFAULT NULL, description LONGTEXT NOT NULL, call_to_action VARCHAR(255) DEFAULT NULL, locale VARCHAR(5) NOT NULL, INDEX IDX_525E89982C2AC5D3 (translatable_id), UNIQUE INDEX about_area_translation_unique_translation (translatable_id, locale), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE about_info (id INT AUTO_INCREMENT NOT NULL, company_name VARCHAR(255) NOT NULL, email VARCHAR(255) NOT NULL, phone VARCHAR(255) NOT NULL, address VARCHAR(255) NOT NULL, additionnal_address VARCHAR(255) DEFAULT NULL, postal_code VARCHAR(255) NOT NULL, country VARCHAR(255) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE about_page (id INT AUTO_INCREMENT NOT NULL, cover_image VARCHAR(255) NOT NULL, updated_at DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE about_page_translation (id INT AUTO_INCREMENT NOT NULL, translatable_id INT DEFAULT NULL, title VARCHAR(255) NOT NULL, introduction LONGTEXT DEFAULT NULL, locale VARCHAR(5) NOT NULL, INDEX IDX_6ED97D9A2C2AC5D3 (translatable_id), UNIQUE INDEX about_page_translation_unique_translation (translatable_id, locale), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE contact_area (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE contact_area_translation (id INT AUTO_INCREMENT NOT NULL, translatable_id INT DEFAULT NULL, title VARCHAR(255) NOT NULL, subtitle VARCHAR(255) DEFAULT NULL, locale VARCHAR(5) NOT NULL, INDEX IDX_5EA8E58B2C2AC5D3 (translatable_id), UNIQUE INDEX contact_area_translation_unique_translation (translatable_id, locale), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE contact_form (id INT AUTO_INCREMENT NOT NULL, gender VARCHAR(255) NOT NULL, first_name VARCHAR(255) NOT NULL, last_name VARCHAR(255) NOT NULL, email VARCHAR(255) NOT NULL, phone VARCHAR(255) DEFAULT NULL, content LONGTEXT NOT NULL, created_at DATETIME NOT NULL, rgpd TINYINT(1) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE contact_page (id INT AUTO_INCREMENT NOT NULL, cover_image VARCHAR(255) NOT NULL, updated_at DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE contact_page_translation (id INT AUTO_INCREMENT NOT NULL, translatable_id INT DEFAULT NULL, title VARCHAR(255) NOT NULL, locale VARCHAR(5) NOT NULL, INDEX IDX_622F11892C2AC5D3 (translatable_id), UNIQUE INDEX contact_page_translation_unique_translation (translatable_id, locale), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE gallery_area (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE gallery_area_translation (id INT AUTO_INCREMENT NOT NULL, translatable_id INT DEFAULT NULL, title VARCHAR(255) NOT NULL, subtitle VARCHAR(255) DEFAULT NULL, locale VARCHAR(5) NOT NULL, INDEX IDX_E37D07722C2AC5D3 (translatable_id), UNIQUE INDEX gallery_area_translation_unique_translation (translatable_id, locale), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE gallery_category (id INT AUTO_INCREMENT NOT NULL, position INT NOT NULL, cover_image VARCHAR(255) NOT NULL, updated_at DATETIME DEFAULT NULL, display TINYINT(1) NOT NULL, slug VARCHAR(255) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE gallery_category_translation (id INT AUTO_INCREMENT NOT NULL, translatable_id INT DEFAULT NULL, name VARCHAR(255) NOT NULL, locale VARCHAR(5) NOT NULL, INDEX IDX_26E0ACB82C2AC5D3 (translatable_id), UNIQUE INDEX gallery_category_translation_unique_translation (translatable_id, locale), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE gallery_image (id INT AUTO_INCREMENT NOT NULL, category_id INT NOT NULL, url VARCHAR(255) NOT NULL, updated_at DATETIME DEFAULT NULL, INDEX IDX_21A0D47C12469DE2 (category_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE gallery_image_translation (id INT AUTO_INCREMENT NOT NULL, translatable_id INT DEFAULT NULL, caption VARCHAR(255) NOT NULL, locale VARCHAR(5) NOT NULL, INDEX IDX_48C03CEC2C2AC5D3 (translatable_id), UNIQUE INDEX gallery_image_translation_unique_translation (translatable_id, locale), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE gallery_page (id INT AUTO_INCREMENT NOT NULL, cover_image VARCHAR(255) NOT NULL, updated_at DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE gallery_page_translation (id INT AUTO_INCREMENT NOT NULL, translatable_id INT DEFAULT NULL, title VARCHAR(255) NOT NULL, introduction LONGTEXT DEFAULT NULL, locale VARCHAR(5) NOT NULL, INDEX IDX_DFFAF3702C2AC5D3 (translatable_id), UNIQUE INDEX gallery_page_translation_unique_translation (translatable_id, locale), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE hobby_area (id INT AUTO_INCREMENT NOT NULL, cover_image VARCHAR(255) DEFAULT NULL, updated_at DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE hobby_area_translation (id INT AUTO_INCREMENT NOT NULL, translatable_id INT DEFAULT NULL, title VARCHAR(255) NOT NULL, subtitle VARCHAR(255) DEFAULT NULL, introduction VARCHAR(255) DEFAULT NULL, call_to_action VARCHAR(255) NOT NULL, locale VARCHAR(5) NOT NULL, INDEX IDX_48623C0C2C2AC5D3 (translatable_id), UNIQUE INDEX hobby_area_translation_unique_translation (translatable_id, locale), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE hobby_page (id INT AUTO_INCREMENT NOT NULL, cover_image VARCHAR(255) NOT NULL, updated_at DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE hobby_page_translation (id INT AUTO_INCREMENT NOT NULL, translatable_id INT DEFAULT NULL, title VARCHAR(255) NOT NULL, locale VARCHAR(5) NOT NULL, INDEX IDX_74E5C80E2C2AC5D3 (translatable_id), UNIQUE INDEX hobby_page_translation_unique_translation (translatable_id, locale), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE hobby_single (id INT AUTO_INCREMENT NOT NULL, cover_image VARCHAR(255) NOT NULL, updated_at DATETIME DEFAULT NULL, slug VARCHAR(255) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE hobby_single_area (id INT AUTO_INCREMENT NOT NULL, hobby_single_id INT NOT NULL, image VARCHAR(255) NOT NULL, updated_at DATETIME DEFAULT NULL, INDEX IDX_4335E5BDE65350E8 (hobby_single_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE hobby_single_area_translation (id INT AUTO_INCREMENT NOT NULL, translatable_id INT DEFAULT NULL, title VARCHAR(255) NOT NULL, content LONGTEXT NOT NULL, locale VARCHAR(5) NOT NULL, INDEX IDX_3F32D6C02C2AC5D3 (translatable_id), UNIQUE INDEX hobby_single_area_translation_unique_translation (translatable_id, locale), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE hobby_single_translation (id INT AUTO_INCREMENT NOT NULL, translatable_id INT DEFAULT NULL, title VARCHAR(255) NOT NULL, subtitle VARCHAR(255) DEFAULT NULL, introduction LONGTEXT NOT NULL, description LONGTEXT NOT NULL, locale VARCHAR(5) NOT NULL, INDEX IDX_CC9A371A2C2AC5D3 (translatable_id), UNIQUE INDEX hobby_single_translation_unique_translation (translatable_id, locale), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE home_main_slider (id INT AUTO_INCREMENT NOT NULL, cover_image VARCHAR(255) NOT NULL, updated_at DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE profile (id INT AUTO_INCREMENT NOT NULL, user_id INT NOT NULL, first_name VARCHAR(255) NOT NULL, last_name VARCHAR(255) NOT NULL, email VARCHAR(255) NOT NULL, phone VARCHAR(255) NOT NULL, avatar VARCHAR(255) DEFAULT NULL, UNIQUE INDEX UNIQ_8157AA0FA76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE service_area (id INT AUTO_INCREMENT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE service_area_translation (id INT AUTO_INCREMENT NOT NULL, translatable_id INT DEFAULT NULL, title VARCHAR(255) NOT NULL, subtitle VARCHAR(255) NOT NULL, introduction LONGTEXT DEFAULT NULL, call_to_action VARCHAR(255) NOT NULL, locale VARCHAR(5) NOT NULL, INDEX IDX_3817C80E2C2AC5D3 (translatable_id), UNIQUE INDEX service_area_translation_unique_translation (translatable_id, locale), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE service_page (id INT AUTO_INCREMENT NOT NULL, cover_image VARCHAR(255) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE service_page_translation (id INT AUTO_INCREMENT NOT NULL, translatable_id INT DEFAULT NULL, title VARCHAR(255) NOT NULL, introduction LONGTEXT DEFAULT NULL, locale VARCHAR(5) NOT NULL, INDEX IDX_4903C0C2C2AC5D3 (translatable_id), UNIQUE INDEX service_page_translation_unique_translation (translatable_id, locale), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE service_single (id INT AUTO_INCREMENT NOT NULL, image VARCHAR(255) NOT NULL, updated_at DATETIME DEFAULT NULL, slug VARCHAR(255) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE service_single_translation (id INT AUTO_INCREMENT NOT NULL, translatable_id INT DEFAULT NULL, title VARCHAR(255) NOT NULL, subtitle VARCHAR(255) DEFAULT NULL, introduction LONGTEXT DEFAULT NULL, description VARCHAR(255) NOT NULL, locale VARCHAR(5) NOT NULL, INDEX IDX_447C13E82C2AC5D3 (translatable_id), UNIQUE INDEX service_single_translation_unique_translation (translatable_id, locale), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE user (id INT AUTO_INCREMENT NOT NULL, email VARCHAR(180) NOT NULL, roles JSON NOT NULL, password VARCHAR(255) NOT NULL, UNIQUE INDEX UNIQ_8D93D649E7927C74 (email), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('ALTER TABLE about_area_translation ADD CONSTRAINT FK_525E89982C2AC5D3 FOREIGN KEY (translatable_id) REFERENCES about_area (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE about_page_translation ADD CONSTRAINT FK_6ED97D9A2C2AC5D3 FOREIGN KEY (translatable_id) REFERENCES about_page (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE contact_area_translation ADD CONSTRAINT FK_5EA8E58B2C2AC5D3 FOREIGN KEY (translatable_id) REFERENCES contact_area (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE contact_page_translation ADD CONSTRAINT FK_622F11892C2AC5D3 FOREIGN KEY (translatable_id) REFERENCES contact_page (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE gallery_area_translation ADD CONSTRAINT FK_E37D07722C2AC5D3 FOREIGN KEY (translatable_id) REFERENCES gallery_area (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE gallery_category_translation ADD CONSTRAINT FK_26E0ACB82C2AC5D3 FOREIGN KEY (translatable_id) REFERENCES gallery_category (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE gallery_image ADD CONSTRAINT FK_21A0D47C12469DE2 FOREIGN KEY (category_id) REFERENCES gallery_category (id)');
$this->addSql('ALTER TABLE gallery_image_translation ADD CONSTRAINT FK_48C03CEC2C2AC5D3 FOREIGN KEY (translatable_id) REFERENCES gallery_image (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE gallery_page_translation ADD CONSTRAINT FK_DFFAF3702C2AC5D3 FOREIGN KEY (translatable_id) REFERENCES gallery_page (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE hobby_area_translation ADD CONSTRAINT FK_48623C0C2C2AC5D3 FOREIGN KEY (translatable_id) REFERENCES hobby_area (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE hobby_page_translation ADD CONSTRAINT FK_74E5C80E2C2AC5D3 FOREIGN KEY (translatable_id) REFERENCES hobby_page (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE hobby_single_area ADD CONSTRAINT FK_4335E5BDE65350E8 FOREIGN KEY (hobby_single_id) REFERENCES hobby_single (id)');
$this->addSql('ALTER TABLE hobby_single_area_translation ADD CONSTRAINT FK_3F32D6C02C2AC5D3 FOREIGN KEY (translatable_id) REFERENCES hobby_single_area (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE hobby_single_translation ADD CONSTRAINT FK_CC9A371A2C2AC5D3 FOREIGN KEY (translatable_id) REFERENCES hobby_single (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE profile ADD CONSTRAINT FK_8157AA0FA76ED395 FOREIGN KEY (user_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE service_area_translation ADD CONSTRAINT FK_3817C80E2C2AC5D3 FOREIGN KEY (translatable_id) REFERENCES service_area (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE service_page_translation ADD CONSTRAINT FK_4903C0C2C2AC5D3 FOREIGN KEY (translatable_id) REFERENCES service_page (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE service_single_translation ADD CONSTRAINT FK_447C13E82C2AC5D3 FOREIGN KEY (translatable_id) REFERENCES service_single (id) ON DELETE CASCADE');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE about_area_translation DROP FOREIGN KEY FK_525E89982C2AC5D3');
$this->addSql('ALTER TABLE about_page_translation DROP FOREIGN KEY FK_6ED97D9A2C2AC5D3');
$this->addSql('ALTER TABLE contact_area_translation DROP FOREIGN KEY FK_5EA8E58B2C2AC5D3');
$this->addSql('ALTER TABLE contact_page_translation DROP FOREIGN KEY FK_622F11892C2AC5D3');
$this->addSql('ALTER TABLE gallery_area_translation DROP FOREIGN KEY FK_E37D07722C2AC5D3');
$this->addSql('ALTER TABLE gallery_category_translation DROP FOREIGN KEY FK_26E0ACB82C2AC5D3');
$this->addSql('ALTER TABLE gallery_image DROP FOREIGN KEY FK_21A0D47C12469DE2');
$this->addSql('ALTER TABLE gallery_image_translation DROP FOREIGN KEY FK_48C03CEC2C2AC5D3');
$this->addSql('ALTER TABLE gallery_page_translation DROP FOREIGN KEY FK_DFFAF3702C2AC5D3');
$this->addSql('ALTER TABLE hobby_area_translation DROP FOREIGN KEY FK_48623C0C2C2AC5D3');
$this->addSql('ALTER TABLE hobby_page_translation DROP FOREIGN KEY FK_74E5C80E2C2AC5D3');
$this->addSql('ALTER TABLE hobby_single_area DROP FOREIGN KEY FK_4335E5BDE65350E8');
$this->addSql('ALTER TABLE hobby_single_translation DROP FOREIGN KEY FK_CC9A371A2C2AC5D3');
$this->addSql('ALTER TABLE hobby_single_area_translation DROP FOREIGN KEY FK_3F32D6C02C2AC5D3');
$this->addSql('ALTER TABLE service_area_translation DROP FOREIGN KEY FK_3817C80E2C2AC5D3');
$this->addSql('ALTER TABLE service_page_translation DROP FOREIGN KEY FK_4903C0C2C2AC5D3');
$this->addSql('ALTER TABLE service_single_translation DROP FOREIGN KEY FK_447C13E82C2AC5D3');
$this->addSql('ALTER TABLE profile DROP FOREIGN KEY FK_8157AA0FA76ED395');
$this->addSql('DROP TABLE about_area');
$this->addSql('DROP TABLE about_area_translation');
$this->addSql('DROP TABLE about_info');
$this->addSql('DROP TABLE about_page');
$this->addSql('DROP TABLE about_page_translation');
$this->addSql('DROP TABLE contact_area');
$this->addSql('DROP TABLE contact_area_translation');
$this->addSql('DROP TABLE contact_form');
$this->addSql('DROP TABLE contact_page');
$this->addSql('DROP TABLE contact_page_translation');
$this->addSql('DROP TABLE gallery_area');
$this->addSql('DROP TABLE gallery_area_translation');
$this->addSql('DROP TABLE gallery_category');
$this->addSql('DROP TABLE gallery_category_translation');
$this->addSql('DROP TABLE gallery_image');
$this->addSql('DROP TABLE gallery_image_translation');
$this->addSql('DROP TABLE gallery_page');
$this->addSql('DROP TABLE gallery_page_translation');
$this->addSql('DROP TABLE hobby_area');
$this->addSql('DROP TABLE hobby_area_translation');
$this->addSql('DROP TABLE hobby_page');
$this->addSql('DROP TABLE hobby_page_translation');
$this->addSql('DROP TABLE hobby_single');
$this->addSql('DROP TABLE hobby_single_area');
$this->addSql('DROP TABLE hobby_single_area_translation');
$this->addSql('DROP TABLE hobby_single_translation');
$this->addSql('DROP TABLE home_main_slider');
$this->addSql('DROP TABLE profile');
$this->addSql('DROP TABLE service_area');
$this->addSql('DROP TABLE service_area_translation');
$this->addSql('DROP TABLE service_page');
$this->addSql('DROP TABLE service_page_translation');
$this->addSql('DROP TABLE service_single');
$this->addSql('DROP TABLE service_single_translation');
$this->addSql('DROP TABLE user');
}
}