<?phpdeclare(strict_types=1);namespace DoctrineMigrations;use Doctrine\DBAL\Schema\Schema;use Doctrine\Migrations\AbstractMigration;/** * Auto-generated Migration: Please modify to your needs! */final class Version20260124175654 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 action ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE addon ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE allergen ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE box ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE box_part ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE brand ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE conditions_of_use ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE contract ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE contract_addon ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE customer ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE customer_address ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE department ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE diet ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE diet_calorific ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE diet_calorific_meal_size ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE diet_size ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE diet_size_discount ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE exclusion ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE ingredient ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE ingredient_form ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE ingredient_form_lose ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE ingredient_form_recipe ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE lose ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE mail_template ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE meal ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE meal_part ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE meal_type ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE meal_type_size ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE menu_plan ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE `order` ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE order_addon ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE order_payment ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE payment_gateway ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE privacy_policy ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE recipe ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE recipe_ingredient ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE recipe_step ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE sms_template ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE supplier ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE supplier_item ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE supplier_order ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE supplier_order_item ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE tag ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE tax ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE template ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE unit ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE user ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE user_subscription ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE warehouse ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE warehouse_admission ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE warehouse_admission_attachment ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE warehouse_item ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE warehouse_release ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE workstation ADD cat_id INT DEFAULT NULL'); $this->addSql('ALTER TABLE zone ADD cat_id INT DEFAULT NULL'); } public function down(Schema $schema): void { // this down() migration is auto-generated, please modify it to your needs $this->addSql('ALTER TABLE action DROP cat_id'); $this->addSql('ALTER TABLE addon DROP cat_id'); $this->addSql('ALTER TABLE allergen DROP cat_id'); $this->addSql('ALTER TABLE box DROP cat_id'); $this->addSql('ALTER TABLE box_part DROP cat_id'); $this->addSql('ALTER TABLE brand DROP cat_id'); $this->addSql('ALTER TABLE conditions_of_use DROP cat_id'); $this->addSql('ALTER TABLE contract DROP cat_id'); $this->addSql('ALTER TABLE contract_addon DROP cat_id'); $this->addSql('ALTER TABLE customer DROP cat_id'); $this->addSql('ALTER TABLE customer_address DROP cat_id'); $this->addSql('ALTER TABLE department DROP cat_id'); $this->addSql('ALTER TABLE diet DROP cat_id'); $this->addSql('ALTER TABLE diet_calorific DROP cat_id'); $this->addSql('ALTER TABLE diet_calorific_meal_size DROP cat_id'); $this->addSql('ALTER TABLE diet_size DROP cat_id'); $this->addSql('ALTER TABLE diet_size_discount DROP cat_id'); $this->addSql('ALTER TABLE exclusion DROP cat_id'); $this->addSql('ALTER TABLE ingredient DROP cat_id'); $this->addSql('ALTER TABLE ingredient_form DROP cat_id'); $this->addSql('ALTER TABLE ingredient_form_lose DROP cat_id'); $this->addSql('ALTER TABLE ingredient_form_recipe DROP cat_id'); $this->addSql('ALTER TABLE lose DROP cat_id'); $this->addSql('ALTER TABLE mail_template DROP cat_id'); $this->addSql('ALTER TABLE meal DROP cat_id'); $this->addSql('ALTER TABLE meal_part DROP cat_id'); $this->addSql('ALTER TABLE meal_type DROP cat_id'); $this->addSql('ALTER TABLE meal_type_size DROP cat_id'); $this->addSql('ALTER TABLE menu_plan DROP cat_id'); $this->addSql('ALTER TABLE `order` DROP cat_id'); $this->addSql('ALTER TABLE order_addon DROP cat_id'); $this->addSql('ALTER TABLE order_payment DROP cat_id'); $this->addSql('ALTER TABLE payment_gateway DROP cat_id'); $this->addSql('ALTER TABLE privacy_policy DROP cat_id'); $this->addSql('ALTER TABLE recipe DROP cat_id'); $this->addSql('ALTER TABLE recipe_ingredient DROP cat_id'); $this->addSql('ALTER TABLE recipe_step DROP cat_id'); $this->addSql('ALTER TABLE sms_template DROP cat_id'); $this->addSql('ALTER TABLE supplier DROP cat_id'); $this->addSql('ALTER TABLE supplier_item DROP cat_id'); $this->addSql('ALTER TABLE supplier_order DROP cat_id'); $this->addSql('ALTER TABLE supplier_order_item DROP cat_id'); $this->addSql('ALTER TABLE tag DROP cat_id'); $this->addSql('ALTER TABLE tax DROP cat_id'); $this->addSql('ALTER TABLE template DROP cat_id'); $this->addSql('ALTER TABLE unit DROP cat_id'); $this->addSql('ALTER TABLE `user` DROP cat_id'); $this->addSql('ALTER TABLE user_subscription DROP cat_id'); $this->addSql('ALTER TABLE warehouse DROP cat_id'); $this->addSql('ALTER TABLE warehouse_admission DROP cat_id'); $this->addSql('ALTER TABLE warehouse_admission_attachment DROP cat_id'); $this->addSql('ALTER TABLE warehouse_item DROP cat_id'); $this->addSql('ALTER TABLE warehouse_release DROP cat_id'); $this->addSql('ALTER TABLE workstation DROP cat_id'); $this->addSql('ALTER TABLE zone DROP cat_id'); }}