<?php
declare(strict_types=1);
namespace CoreMigrations;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\Migrations\AbstractMigration;
/**
* Auto-generated Migration: Please modify to your needs!
*/
final class Version20231218104235 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('ALTER TABLE crm_bundle__opportunity CHANGE options options JSON DEFAULT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE import_products_bundle__import_error CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE notification CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE product_returns_bundle__product_return_line CHANGE options options JSON DEFAULT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE products_bundle__attachment CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE products_bundle__declination CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE profile CHANGE roles roles JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE projects_bundle__task_model CHANGE todos todos JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE recurring_invoices_bundle__recurring_invoice CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE recurring_invoices_bundle__recurring_invoice_line CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__credit_note CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__credit_note_line CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__delivery_note CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__delivery_note_line CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__invoice CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__invoice_line CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__order CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__order_line CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__quotation CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__quotation_line CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE suppliers_orders_bundle__receipt_note CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE suppliers_orders_bundle__receipt_note_line CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE suppliers_orders_bundle__supplier_order_line CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE user CHANGE config config JSON DEFAULT NULL COMMENT \'(DC2Type:json)\'');
}
public function down(Schema $schema): void
{
// this down() migration is auto-generated, please modify it to your needs
$this->addSql('ALTER TABLE recurring_invoices_bundle__recurring_invoice_line CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__delivery_note CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__quotation_line CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE user CHANGE config config JSON DEFAULT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE suppliers_orders_bundle__receipt_note CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__quotation CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE products_bundle__attachment CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__credit_note CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE recurring_invoices_bundle__recurring_invoice CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE suppliers_orders_bundle__supplier_order_line CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__order_line CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE import_products_bundle__import_error CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE products_bundle__declination CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__invoice_line CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE profile CHANGE roles roles JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE crm_bundle__opportunity CHANGE options options JSON DEFAULT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE product_returns_bundle__product_return_line CHANGE options options JSON DEFAULT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__order CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__delivery_note_line CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__credit_note_line CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE projects_bundle__task_model CHANGE todos todos JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE notification CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE suppliers_orders_bundle__receipt_note_line CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
$this->addSql('ALTER TABLE sales_bundle__invoice CHANGE options options JSON NOT NULL COMMENT \'(DC2Type:json)\'');
}
}