* Auto-generated Migration: Please modify to your needs!
*/
final class Version20240625094656 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 config (id INT AUTO_INCREMENT NOT NULL, nom VARCHAR(255) DEFAULT NULL, val DOUBLE PRECISION DEFAULT NULL, num INT NOT NULL, statut INT NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE order_pack_product (id INT AUTO_INCREMENT NOT NULL, product_id INT NOT NULL, order_parent_id INT NOT NULL, price NUMERIC(10, 3) NOT NULL, qty INT NOT NULL, INDEX IDX_ECC300BA4584665A (product_id), INDEX IDX_ECC300BACEFDB188 (order_parent_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
$this->addSql('CREATE TABLE pack_product (id INT AUTO_INCREMENT NOT NULL, product_id INT NOT NULL, pack_id INT NOT NULL, price NUMERIC(10, 3) NOT NULL, qty INT NOT NULL, INDEX IDX_E80394D04584665A (product_id), INDEX IDX_E80394D01919B217 (pack_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');