<?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 Version20230626044027 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 activity (id INT AUTO_INCREMENT NOT NULL, activity_name VARCHAR(255) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE article (id INT AUTO_INCREMENT NOT NULL, sub_num_id INT DEFAULT NULL, name VARCHAR(255) NOT NULL, description VARCHAR(255) DEFAULT NULL, INDEX IDX_23A0E665013DC86 (sub_num_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE brand (id INT AUTO_INCREMENT NOT NULL, activity_id INT NOT NULL, user_id INT NOT NULL, brand_name VARCHAR(255) NOT NULL, INDEX IDX_1C52F95881C06096 (activity_id), INDEX IDX_1C52F958A76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE category (id INT AUTO_INCREMENT NOT NULL, domain_num_id INT DEFAULT NULL, category_name VARCHAR(255) NOT NULL, INDEX IDX_64C19C18D219F03 (domain_num_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE city (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE contact (id INT AUTO_INCREMENT NOT NULL, author_id INT NOT NULL, content LONGTEXT NOT NULL, subject VARCHAR(255) NOT NULL, created_at DATETIME DEFAULT NULL, email VARCHAR(255) NOT NULL, name VARCHAR(255) NOT NULL, INDEX IDX_4C62E638F675F31B (author_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE detail (id INT AUTO_INCREMENT NOT NULL, type_subscription_id INT NOT NULL, user_id INT NOT NULL, start_date DATETIME NOT NULL, end_date DATETIME NOT NULL, validation TINYINT(1) NOT NULL, INDEX IDX_2E067F936D2C13A8 (type_subscription_id), INDEX IDX_2E067F93A76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE detail_category (detail_id INT NOT NULL, category_id INT NOT NULL, INDEX IDX_F092F01AD8D003BB (detail_id), INDEX IDX_F092F01A12469DE2 (category_id), PRIMARY KEY(detail_id, category_id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE dimension (id INT AUTO_INCREMENT NOT NULL, activity_id INT NOT NULL, user_id INT NOT NULL, dimension_name VARCHAR(255) NOT NULL, INDEX IDX_CA9BC19C81C06096 (activity_id), INDEX IDX_CA9BC19CA76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE domain (id INT AUTO_INCREMENT NOT NULL, activity_num_id INT DEFAULT NULL, domain_name VARCHAR(255) NOT NULL, domain_label LONGTEXT NOT NULL, INDEX IDX_A7A91E0BB03473CA (activity_num_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE informations (id INT AUTO_INCREMENT NOT NULL, supplier_id INT DEFAULT NULL, contact VARCHAR(255) DEFAULT NULL, email VARCHAR(255) DEFAULT NULL, INDEX IDX_6F9664892ADD6D8C (supplier_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE livraison_domicile (id INT AUTO_INCREMENT NOT NULL, province VARCHAR(255) NOT NULL, adresse VARCHAR(255) NOT NULL, disponibilite DATE NOT NULL, commentaire VARCHAR(255) DEFAULT NULL, recepteur VARCHAR(255) NOT NULL, number_phone VARCHAR(255) NOT NULL, status VARCHAR(255) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE livraison_magasin (id INT AUTO_INCREMENT NOT NULL, disponibilite DATE NOT NULL, commentaire VARCHAR(255) DEFAULT NULL, recepteur VARCHAR(255) NOT NULL, number_phone VARCHAR(255) NOT NULL, status VARCHAR(255) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE offre (id INT AUTO_INCREMENT NOT NULL, supplier_id INT NOT NULL, article_id INT DEFAULT NULL, brand_offre_id INT DEFAULT NULL, dimension_offre_id INT DEFAULT NULL, type_offre_id INT DEFAULT NULL, unity_offre_id INT DEFAULT NULL, user_id INT NOT NULL, price DOUBLE PRECISION NOT NULL, feature VARCHAR(255) NOT NULL, promotion TINYINT(1) NOT NULL, number INT DEFAULT NULL, notification TINYINT(1) DEFAULT NULL, created_at DATETIME DEFAULT NULL, INDEX IDX_AF86866F2ADD6D8C (supplier_id), INDEX IDX_AF86866F7294869C (article_id), INDEX IDX_AF86866F8BF8C34B (brand_offre_id), INDEX IDX_AF86866FA519FCAD (dimension_offre_id), INDEX IDX_AF86866F813777A6 (type_offre_id), INDEX IDX_AF86866F3E3FAA2F (unity_offre_id), INDEX IDX_AF86866FA76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE `order` (id INT AUTO_INCREMENT NOT NULL, user_id INT NOT NULL, offre_id INT NOT NULL, create_at DATETIME NOT NULL, quantity INT NOT NULL, status VARCHAR(255) NOT NULL, INDEX IDX_F5299398A76ED395 (user_id), INDEX IDX_F52993984CC8505A (offre_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE order_offre (id INT AUTO_INCREMENT NOT NULL, user_id INT NOT NULL, type_subcribe_id INT NOT NULL, activite_id INT NOT NULL, status VARCHAR(255) NOT NULL, create_at DATETIME NOT NULL, INDEX IDX_2C18F292A76ED395 (user_id), INDEX IDX_2C18F29259C9B287 (type_subcribe_id), INDEX IDX_2C18F2929B0F88B1 (activite_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE picture (id INT AUTO_INCREMENT NOT NULL, article_id INT DEFAULT NULL, offre_id INT DEFAULT NULL, name VARCHAR(255) NOT NULL, INDEX IDX_16DB4F897294869C (article_id), INDEX IDX_16DB4F894CC8505A (offre_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE reset_password_request (id INT AUTO_INCREMENT NOT NULL, user_id INT NOT NULL, selector VARCHAR(20) NOT NULL, hashed_token VARCHAR(100) NOT NULL, requested_at DATETIME NOT NULL COMMENT \'(DC2Type:datetime_immutable)\', expires_at DATETIME NOT NULL COMMENT \'(DC2Type:datetime_immutable)\', INDEX IDX_7CE748AA76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE sub_category (id INT AUTO_INCREMENT NOT NULL, cat_num_id INT DEFAULT NULL, domain_id INT DEFAULT NULL, sub_name VARCHAR(255) NOT NULL, INDEX IDX_BCE3F7983C4576BF (cat_num_id), INDEX IDX_BCE3F798115F0EE5 (domain_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE supplier (id INT AUTO_INCREMENT NOT NULL, activite_id INT NOT NULL, user_id INT NOT NULL, name_of_supplier VARCHAR(255) NOT NULL, address VARCHAR(255) NOT NULL, description LONGTEXT NOT NULL, avatar VARCHAR(255) DEFAULT NULL, INDEX IDX_9B2A6C7E9B0F88B1 (activite_id), INDEX IDX_9B2A6C7EA76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE type (id INT AUTO_INCREMENT NOT NULL, activity_id INT NOT NULL, user_id INT NOT NULL, type_name VARCHAR(255) NOT NULL, INDEX IDX_8CDE572981C06096 (activity_id), INDEX IDX_8CDE5729A76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE type_subscribe (id INT AUTO_INCREMENT NOT NULL, name_subscibe VARCHAR(255) NOT NULL, timeout INT NOT NULL, number_category INT DEFAULT NULL, commitment VARCHAR(255) DEFAULT NULL, montant VARCHAR(255) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE unity (id INT AUTO_INCREMENT NOT NULL, activity_id INT NOT NULL, user_id INT NOT NULL, unity_name VARCHAR(255) NOT NULL, INDEX IDX_9659D5781C06096 (activity_id), INDEX IDX_9659D57A76ED395 (user_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE user (id INT AUTO_INCREMENT NOT NULL, city_id INT DEFAULT NULL, email VARCHAR(180) NOT NULL, roles JSON NOT NULL, password VARCHAR(255) NOT NULL, name VARCHAR(255) NOT NULL, first VARCHAR(255) NOT NULL, adress VARCHAR(255) DEFAULT NULL, number_phone VARCHAR(255) DEFAULT NULL, status VARCHAR(255) DEFAULT NULL, nif BIGINT DEFAULT NULL, stat BIGINT DEFAULT NULL, is_verified TINYINT(1) NOT NULL, confirm_token VARCHAR(255) DEFAULT NULL, avatar VARCHAR(255) DEFAULT NULL, is_free TINYINT(1) NOT NULL, start_date DATETIME NOT NULL, UNIQUE INDEX UNIQ_8D93D649E7927C74 (email), INDEX IDX_8D93D6498BAC62AF (city_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE messenger_messages (id BIGINT AUTO_INCREMENT NOT NULL, body LONGTEXT NOT NULL, headers LONGTEXT NOT NULL, queue_name VARCHAR(190) NOT NULL, created_at DATETIME NOT NULL, available_at DATETIME NOT NULL, delivered_at DATETIME DEFAULT NULL, INDEX IDX_75EA56E0FB7336F0 (queue_name), INDEX IDX_75EA56E0E3BD61CE (available_at), INDEX IDX_75EA56E016BA31DB (delivered_at), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('ALTER TABLE article ADD CONSTRAINT FK_23A0E665013DC86 FOREIGN KEY (sub_num_id) REFERENCES sub_category (id)');
$this->addSql('ALTER TABLE brand ADD CONSTRAINT FK_1C52F95881C06096 FOREIGN KEY (activity_id) REFERENCES activity (id)');
$this->addSql('ALTER TABLE brand ADD CONSTRAINT FK_1C52F958A76ED395 FOREIGN KEY (user_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE category ADD CONSTRAINT FK_64C19C18D219F03 FOREIGN KEY (domain_num_id) REFERENCES domain (id)');
$this->addSql('ALTER TABLE contact ADD CONSTRAINT FK_4C62E638F675F31B FOREIGN KEY (author_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE detail ADD CONSTRAINT FK_2E067F936D2C13A8 FOREIGN KEY (type_subscription_id) REFERENCES type_subscribe (id)');
$this->addSql('ALTER TABLE detail ADD CONSTRAINT FK_2E067F93A76ED395 FOREIGN KEY (user_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE detail_category ADD CONSTRAINT FK_F092F01AD8D003BB FOREIGN KEY (detail_id) REFERENCES detail (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE detail_category ADD CONSTRAINT FK_F092F01A12469DE2 FOREIGN KEY (category_id) REFERENCES category (id) ON DELETE CASCADE');
$this->addSql('ALTER TABLE dimension ADD CONSTRAINT FK_CA9BC19C81C06096 FOREIGN KEY (activity_id) REFERENCES activity (id)');
$this->addSql('ALTER TABLE dimension ADD CONSTRAINT FK_CA9BC19CA76ED395 FOREIGN KEY (user_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE domain ADD CONSTRAINT FK_A7A91E0BB03473CA FOREIGN KEY (activity_num_id) REFERENCES activity (id)');
$this->addSql('ALTER TABLE informations ADD CONSTRAINT FK_6F9664892ADD6D8C FOREIGN KEY (supplier_id) REFERENCES supplier (id)');
$this->addSql('ALTER TABLE offre ADD CONSTRAINT FK_AF86866F2ADD6D8C FOREIGN KEY (supplier_id) REFERENCES supplier (id)');
$this->addSql('ALTER TABLE offre ADD CONSTRAINT FK_AF86866F7294869C FOREIGN KEY (article_id) REFERENCES article (id)');
$this->addSql('ALTER TABLE offre ADD CONSTRAINT FK_AF86866F8BF8C34B FOREIGN KEY (brand_offre_id) REFERENCES brand (id)');
$this->addSql('ALTER TABLE offre ADD CONSTRAINT FK_AF86866FA519FCAD FOREIGN KEY (dimension_offre_id) REFERENCES dimension (id)');
$this->addSql('ALTER TABLE offre ADD CONSTRAINT FK_AF86866F813777A6 FOREIGN KEY (type_offre_id) REFERENCES type (id)');
$this->addSql('ALTER TABLE offre ADD CONSTRAINT FK_AF86866F3E3FAA2F FOREIGN KEY (unity_offre_id) REFERENCES unity (id)');
$this->addSql('ALTER TABLE offre ADD CONSTRAINT FK_AF86866FA76ED395 FOREIGN KEY (user_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE `order` ADD CONSTRAINT FK_F5299398A76ED395 FOREIGN KEY (user_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE `order` ADD CONSTRAINT FK_F52993984CC8505A FOREIGN KEY (offre_id) REFERENCES offre (id)');
$this->addSql('ALTER TABLE order_offre ADD CONSTRAINT FK_2C18F292A76ED395 FOREIGN KEY (user_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE order_offre ADD CONSTRAINT FK_2C18F29259C9B287 FOREIGN KEY (type_subcribe_id) REFERENCES type_subscribe (id)');
$this->addSql('ALTER TABLE order_offre ADD CONSTRAINT FK_2C18F2929B0F88B1 FOREIGN KEY (activite_id) REFERENCES activity (id)');
$this->addSql('ALTER TABLE picture ADD CONSTRAINT FK_16DB4F897294869C FOREIGN KEY (article_id) REFERENCES article (id)');
$this->addSql('ALTER TABLE picture ADD CONSTRAINT FK_16DB4F894CC8505A FOREIGN KEY (offre_id) REFERENCES offre (id)');
$this->addSql('ALTER TABLE reset_password_request ADD CONSTRAINT FK_7CE748AA76ED395 FOREIGN KEY (user_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE sub_category ADD CONSTRAINT FK_BCE3F7983C4576BF FOREIGN KEY (cat_num_id) REFERENCES category (id)');
$this->addSql('ALTER TABLE sub_category ADD CONSTRAINT FK_BCE3F798115F0EE5 FOREIGN KEY (domain_id) REFERENCES domain (id)');
$this->addSql('ALTER TABLE supplier ADD CONSTRAINT FK_9B2A6C7E9B0F88B1 FOREIGN KEY (activite_id) REFERENCES activity (id)');
$this->addSql('ALTER TABLE supplier ADD CONSTRAINT FK_9B2A6C7EA76ED395 FOREIGN KEY (user_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE type ADD CONSTRAINT FK_8CDE572981C06096 FOREIGN KEY (activity_id) REFERENCES activity (id)');
$this->addSql('ALTER TABLE type ADD CONSTRAINT FK_8CDE5729A76ED395 FOREIGN KEY (user_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE unity ADD CONSTRAINT FK_9659D5781C06096 FOREIGN KEY (activity_id) REFERENCES activity (id)');
$this->addSql('ALTER TABLE unity ADD CONSTRAINT FK_9659D57A76ED395 FOREIGN KEY (user_id) REFERENCES user (id)');
$this->addSql('ALTER TABLE user ADD CONSTRAINT FK_8D93D6498BAC62AF FOREIGN KEY (city_id) REFERENCES city (id)');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE article DROP FOREIGN KEY FK_23A0E665013DC86');
$this->addSql('ALTER TABLE brand DROP FOREIGN KEY FK_1C52F95881C06096');
$this->addSql('ALTER TABLE brand DROP FOREIGN KEY FK_1C52F958A76ED395');
$this->addSql('ALTER TABLE category DROP FOREIGN KEY FK_64C19C18D219F03');
$this->addSql('ALTER TABLE contact DROP FOREIGN KEY FK_4C62E638F675F31B');
$this->addSql('ALTER TABLE detail DROP FOREIGN KEY FK_2E067F936D2C13A8');
$this->addSql('ALTER TABLE detail DROP FOREIGN KEY FK_2E067F93A76ED395');
$this->addSql('ALTER TABLE detail_category DROP FOREIGN KEY FK_F092F01AD8D003BB');
$this->addSql('ALTER TABLE detail_category DROP FOREIGN KEY FK_F092F01A12469DE2');
$this->addSql('ALTER TABLE dimension DROP FOREIGN KEY FK_CA9BC19C81C06096');
$this->addSql('ALTER TABLE dimension DROP FOREIGN KEY FK_CA9BC19CA76ED395');
$this->addSql('ALTER TABLE domain DROP FOREIGN KEY FK_A7A91E0BB03473CA');
$this->addSql('ALTER TABLE informations DROP FOREIGN KEY FK_6F9664892ADD6D8C');
$this->addSql('ALTER TABLE offre DROP FOREIGN KEY FK_AF86866F2ADD6D8C');
$this->addSql('ALTER TABLE offre DROP FOREIGN KEY FK_AF86866F7294869C');
$this->addSql('ALTER TABLE offre DROP FOREIGN KEY FK_AF86866F8BF8C34B');
$this->addSql('ALTER TABLE offre DROP FOREIGN KEY FK_AF86866FA519FCAD');
$this->addSql('ALTER TABLE offre DROP FOREIGN KEY FK_AF86866F813777A6');
$this->addSql('ALTER TABLE offre DROP FOREIGN KEY FK_AF86866F3E3FAA2F');
$this->addSql('ALTER TABLE offre DROP FOREIGN KEY FK_AF86866FA76ED395');
$this->addSql('ALTER TABLE `order` DROP FOREIGN KEY FK_F5299398A76ED395');
$this->addSql('ALTER TABLE `order` DROP FOREIGN KEY FK_F52993984CC8505A');
$this->addSql('ALTER TABLE order_offre DROP FOREIGN KEY FK_2C18F292A76ED395');
$this->addSql('ALTER TABLE order_offre DROP FOREIGN KEY FK_2C18F29259C9B287');
$this->addSql('ALTER TABLE order_offre DROP FOREIGN KEY FK_2C18F2929B0F88B1');
$this->addSql('ALTER TABLE picture DROP FOREIGN KEY FK_16DB4F897294869C');
$this->addSql('ALTER TABLE picture DROP FOREIGN KEY FK_16DB4F894CC8505A');
$this->addSql('ALTER TABLE reset_password_request DROP FOREIGN KEY FK_7CE748AA76ED395');
$this->addSql('ALTER TABLE sub_category DROP FOREIGN KEY FK_BCE3F7983C4576BF');
$this->addSql('ALTER TABLE sub_category DROP FOREIGN KEY FK_BCE3F798115F0EE5');
$this->addSql('ALTER TABLE supplier DROP FOREIGN KEY FK_9B2A6C7E9B0F88B1');
$this->addSql('ALTER TABLE supplier DROP FOREIGN KEY FK_9B2A6C7EA76ED395');
$this->addSql('ALTER TABLE type DROP FOREIGN KEY FK_8CDE572981C06096');
$this->addSql('ALTER TABLE type DROP FOREIGN KEY FK_8CDE5729A76ED395');
$this->addSql('ALTER TABLE unity DROP FOREIGN KEY FK_9659D5781C06096');
$this->addSql('ALTER TABLE unity DROP FOREIGN KEY FK_9659D57A76ED395');
$this->addSql('ALTER TABLE user DROP FOREIGN KEY FK_8D93D6498BAC62AF');
$this->addSql('DROP TABLE activity');
$this->addSql('DROP TABLE article');
$this->addSql('DROP TABLE brand');
$this->addSql('DROP TABLE category');
$this->addSql('DROP TABLE city');
$this->addSql('DROP TABLE contact');
$this->addSql('DROP TABLE detail');
$this->addSql('DROP TABLE detail_category');
$this->addSql('DROP TABLE dimension');
$this->addSql('DROP TABLE domain');
$this->addSql('DROP TABLE informations');
$this->addSql('DROP TABLE livraison_domicile');
$this->addSql('DROP TABLE livraison_magasin');
$this->addSql('DROP TABLE offre');
$this->addSql('DROP TABLE `order`');
$this->addSql('DROP TABLE order_offre');
$this->addSql('DROP TABLE picture');
$this->addSql('DROP TABLE reset_password_request');
$this->addSql('DROP TABLE sub_category');
$this->addSql('DROP TABLE supplier');
$this->addSql('DROP TABLE type');
$this->addSql('DROP TABLE type_subscribe');
$this->addSql('DROP TABLE unity');
$this->addSql('DROP TABLE user');
$this->addSql('DROP TABLE messenger_messages');
}
}