migrations/Version20210428165155.php line 1

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace DoctrineMigrations;
  4. use Doctrine\DBAL\Schema\Schema;
  5. use Doctrine\Migrations\AbstractMigration;
  6. /**
  7.  * Auto-generated Migration: Please modify to your needs!
  8.  */
  9. final class Version20210428165155 extends AbstractMigration
  10. {
  11.     public function getDescription() : string
  12.     {
  13.         return '';
  14.     }
  15.     public function up(Schema $schema) : void
  16.     {
  17.         // this up() migration is auto-generated, please modify it to your needs
  18.         $this->addSql('CREATE TABLE recipe_test_line (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8mb4 COLLATE `utf8mb4_unicode_ci` ENGINE = InnoDB');
  19.         $this->addSql('ALTER TABLE recipe_test CHANGE moisture_baked_product_target moisture_baked_product_target VARCHAR(20) DEFAULT NULL, CHANGE moisture_baked_product_register moisture_baked_product_register VARCHAR(20) DEFAULT NULL, CHANGE raw_dimensions_diameter_objective raw_dimensions_diameter_objective VARCHAR(20) DEFAULT NULL, CHANGE raw_dimensions_diameter_result raw_dimensions_diameter_result VARCHAR(20) DEFAULT NULL, CHANGE raw_dimensions_long_objective raw_dimensions_long_objective VARCHAR(20) DEFAULT NULL, CHANGE raw_dimensions_long_result raw_dimensions_long_result VARCHAR(20) DEFAULT NULL, CHANGE raw_dimensions_width_objective raw_dimensions_width_objective VARCHAR(20) DEFAULT NULL, CHANGE raw_dimensions_width_result raw_dimensions_width_result VARCHAR(20) DEFAULT NULL, CHANGE raw_dimensions_height_objective raw_dimensions_height_objective VARCHAR(20) DEFAULT NULL, CHANGE raw_dimensions_height_result raw_dimensions_height_result VARCHAR(20) DEFAULT NULL, CHANGE baked_dimensions_diameter_objective baked_dimensions_diameter_objective VARCHAR(20) DEFAULT NULL, CHANGE baked_dimensions_diameter_result baked_dimensions_diameter_result VARCHAR(20) DEFAULT NULL, CHANGE baked_dimensions_long_objective baked_dimensions_long_objective VARCHAR(20) DEFAULT NULL, CHANGE baked_dimensions_long_result baked_dimensions_long_result VARCHAR(20) DEFAULT NULL, CHANGE baked_dimensions_width_objective baked_dimensions_width_objective VARCHAR(20) DEFAULT NULL, CHANGE baked_dimensions_width_result baked_dimensions_width_result VARCHAR(20) DEFAULT NULL, CHANGE baked_dimensions_height_objective baked_dimensions_height_objective VARCHAR(20) DEFAULT NULL, CHANGE baked_dimensions_height_result baked_dimensions_height_result VARCHAR(20) DEFAULT NULL, CHANGE dev_dimensions_diameter_objective dev_dimensions_diameter_objective VARCHAR(20) DEFAULT NULL, CHANGE dev_dimensions_diameter_result dev_dimensions_diameter_result VARCHAR(20) DEFAULT NULL, CHANGE dev_dimensions_long_objective dev_dimensions_long_objective VARCHAR(20) DEFAULT NULL, CHANGE dev_dimensions_long_result dev_dimensions_long_result VARCHAR(20) DEFAULT NULL, CHANGE dev_dimensions_width_objective dev_dimensions_width_objective VARCHAR(20) DEFAULT NULL, CHANGE dev_dimensions_width_result dev_dimensions_width_result VARCHAR(20) DEFAULT NULL, CHANGE dev_dimensions_height_objective dev_dimensions_height_objective VARCHAR(20) DEFAULT NULL, CHANGE dev_dimensions_height_result dev_dimensions_height_result VARCHAR(20) DEFAULT NULL, CHANGE weight_before_baked_number weight_before_baked_number VARCHAR(20) DEFAULT NULL, CHANGE weight_before_baked_weight_objective weight_before_baked_weight_objective VARCHAR(20) DEFAULT NULL, CHANGE weight_before_baked_weight_registered weight_before_baked_weight_registered VARCHAR(20) DEFAULT NULL, CHANGE weight_before_baked_unit_objective weight_before_baked_unit_objective VARCHAR(20) DEFAULT NULL, CHANGE weight_before_baked_unit_registered weight_before_baked_unit_registered VARCHAR(20) DEFAULT NULL, CHANGE topping_weight_before_baked_number topping_weight_before_baked_number VARCHAR(20) DEFAULT NULL, CHANGE topping_weight_before_baked_weight_objective topping_weight_before_baked_weight_objective VARCHAR(20) DEFAULT NULL, CHANGE topping_weight_before_baked_weight_registered topping_weight_before_baked_weight_registered VARCHAR(20) DEFAULT NULL, CHANGE topping_weight_before_baked_unit_objective topping_weight_before_baked_unit_objective VARCHAR(20) DEFAULT NULL, CHANGE topping_weight_before_baked_unit_registered topping_weight_before_baked_unit_registered VARCHAR(20) DEFAULT NULL, CHANGE topping_quantity_before_objective topping_quantity_before_objective VARCHAR(20) DEFAULT NULL, CHANGE topping_quantity_before_registered topping_quantity_before_registered VARCHAR(20) DEFAULT NULL, CHANGE stuffed_weight_before_baked_number stuffed_weight_before_baked_number VARCHAR(20) DEFAULT NULL, CHANGE stuffed_weight_before_baked_weight_objective stuffed_weight_before_baked_weight_objective VARCHAR(20) DEFAULT NULL, CHANGE stuffed_weight_before_baked_weight_registered stuffed_weight_before_baked_weight_registered VARCHAR(20) DEFAULT NULL, CHANGE stuffed_weight_before_baked_unit_objective stuffed_weight_before_baked_unit_objective VARCHAR(20) DEFAULT NULL, CHANGE stuffed_weight_before_baked_unit_registered stuffed_weight_before_baked_unit_registered VARCHAR(20) DEFAULT NULL, CHANGE stuffed_quantity_before_objective stuffed_quantity_before_objective VARCHAR(20) DEFAULT NULL, CHANGE stuffed_quantity_before_registered stuffed_quantity_before_registered VARCHAR(20) DEFAULT NULL, CHANGE weight_after_baked_number weight_after_baked_number VARCHAR(20) DEFAULT NULL, CHANGE weight_after_baked_weight_objective weight_after_baked_weight_objective VARCHAR(20) DEFAULT NULL, CHANGE weight_after_baked_weight_registered weight_after_baked_weight_registered VARCHAR(20) DEFAULT NULL, CHANGE weight_after_baked_unit_objective weight_after_baked_unit_objective VARCHAR(20) DEFAULT NULL, CHANGE weight_after_baked_unit_registered weight_after_baked_unit_registered VARCHAR(20) DEFAULT NULL, CHANGE weight_after_baked_weight_objective_leak weight_after_baked_weight_objective_leak VARCHAR(20) DEFAULT NULL, CHANGE weight_after_baked_weight_registered_leak weight_after_baked_weight_registered_leak VARCHAR(20) DEFAULT NULL, CHANGE topping_weight_after_baked_number topping_weight_after_baked_number VARCHAR(20) DEFAULT NULL, CHANGE topping_weight_after_baked_weight_objective topping_weight_after_baked_weight_objective VARCHAR(20) DEFAULT NULL, CHANGE topping_weight_after_baked_weight_registered topping_weight_after_baked_weight_registered VARCHAR(20) DEFAULT NULL, CHANGE topping_weight_after_baked_unit_objective topping_weight_after_baked_unit_objective VARCHAR(20) DEFAULT NULL, CHANGE topping_weight_after_baked_unit_registered topping_weight_after_baked_unit_registered VARCHAR(20) DEFAULT NULL, CHANGE topping_weight_after_baked_weight_objective_leak topping_weight_after_baked_weight_objective_leak VARCHAR(20) DEFAULT NULL, CHANGE topping_weight_after_baked_weight_registered_leak topping_weight_after_baked_weight_registered_leak VARCHAR(20) DEFAULT NULL, CHANGE stuffed_weight_after_baked_number stuffed_weight_after_baked_number VARCHAR(20) DEFAULT NULL, CHANGE stuffed_weight_after_baked_weight_objective stuffed_weight_after_baked_weight_objective VARCHAR(20) DEFAULT NULL, CHANGE stuffed_weight_after_baked_weight_registered stuffed_weight_after_baked_weight_registered VARCHAR(20) DEFAULT NULL, CHANGE stuffed_weight_after_baked_unit_objective stuffed_weight_after_baked_unit_objective VARCHAR(20) DEFAULT NULL, CHANGE stuffed_weight_after_baked_unit_registered stuffed_weight_after_baked_unit_registered VARCHAR(20) DEFAULT NULL, CHANGE stuffed_weight_after_baked_weight_objective_leak stuffed_weight_after_baked_weight_objective_leak VARCHAR(20) DEFAULT NULL, CHANGE stuffed_weight_after_baked_weight_registered_leak stuffed_weight_after_baked_weight_registered_leak VARCHAR(20) DEFAULT NULL, CHANGE oven oven INT NOT NULL');
  20.     }
  21.     public function down(Schema $schema) : void
  22.     {
  23.         // this down() migration is auto-generated, please modify it to your needs
  24.         $this->addSql('DROP TABLE recipe_test_line');
  25.         $this->addSql('ALTER TABLE recipe_test CHANGE oven oven INT DEFAULT 1 NOT NULL, CHANGE moisture_baked_product_target moisture_baked_product_target VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE moisture_baked_product_register moisture_baked_product_register VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE raw_dimensions_diameter_objective raw_dimensions_diameter_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE raw_dimensions_diameter_result raw_dimensions_diameter_result VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE raw_dimensions_long_objective raw_dimensions_long_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE raw_dimensions_long_result raw_dimensions_long_result VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE raw_dimensions_width_objective raw_dimensions_width_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE raw_dimensions_width_result raw_dimensions_width_result VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE raw_dimensions_height_objective raw_dimensions_height_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE raw_dimensions_height_result raw_dimensions_height_result VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE baked_dimensions_diameter_objective baked_dimensions_diameter_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE baked_dimensions_diameter_result baked_dimensions_diameter_result VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE baked_dimensions_long_objective baked_dimensions_long_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE baked_dimensions_long_result baked_dimensions_long_result VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE baked_dimensions_width_objective baked_dimensions_width_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE baked_dimensions_width_result baked_dimensions_width_result VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE baked_dimensions_height_objective baked_dimensions_height_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE baked_dimensions_height_result baked_dimensions_height_result VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE dev_dimensions_diameter_objective dev_dimensions_diameter_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE dev_dimensions_diameter_result dev_dimensions_diameter_result VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE dev_dimensions_long_objective dev_dimensions_long_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE dev_dimensions_long_result dev_dimensions_long_result VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE dev_dimensions_width_objective dev_dimensions_width_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE dev_dimensions_width_result dev_dimensions_width_result VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE dev_dimensions_height_objective dev_dimensions_height_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE dev_dimensions_height_result dev_dimensions_height_result VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE weight_before_baked_number weight_before_baked_number VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE weight_before_baked_weight_objective weight_before_baked_weight_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE weight_before_baked_weight_registered weight_before_baked_weight_registered VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE weight_before_baked_unit_objective weight_before_baked_unit_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE weight_before_baked_unit_registered weight_before_baked_unit_registered VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE topping_weight_before_baked_number topping_weight_before_baked_number VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE topping_weight_before_baked_weight_objective topping_weight_before_baked_weight_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE topping_weight_before_baked_weight_registered topping_weight_before_baked_weight_registered VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE topping_weight_before_baked_unit_objective topping_weight_before_baked_unit_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE topping_weight_before_baked_unit_registered topping_weight_before_baked_unit_registered VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE topping_quantity_before_objective topping_quantity_before_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE topping_quantity_before_registered topping_quantity_before_registered VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE stuffed_weight_before_baked_number stuffed_weight_before_baked_number VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE stuffed_weight_before_baked_weight_objective stuffed_weight_before_baked_weight_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE stuffed_weight_before_baked_weight_registered stuffed_weight_before_baked_weight_registered VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE stuffed_weight_before_baked_unit_objective stuffed_weight_before_baked_unit_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE stuffed_weight_before_baked_unit_registered stuffed_weight_before_baked_unit_registered VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE stuffed_quantity_before_objective stuffed_quantity_before_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE stuffed_quantity_before_registered stuffed_quantity_before_registered VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE weight_after_baked_number weight_after_baked_number VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE weight_after_baked_weight_objective weight_after_baked_weight_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE weight_after_baked_weight_registered weight_after_baked_weight_registered VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE weight_after_baked_unit_objective weight_after_baked_unit_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE weight_after_baked_unit_registered weight_after_baked_unit_registered VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE weight_after_baked_weight_objective_leak weight_after_baked_weight_objective_leak VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE weight_after_baked_weight_registered_leak weight_after_baked_weight_registered_leak VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE topping_weight_after_baked_number topping_weight_after_baked_number VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE topping_weight_after_baked_weight_objective topping_weight_after_baked_weight_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE topping_weight_after_baked_weight_registered topping_weight_after_baked_weight_registered VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE topping_weight_after_baked_unit_objective topping_weight_after_baked_unit_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE topping_weight_after_baked_unit_registered topping_weight_after_baked_unit_registered VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE topping_weight_after_baked_weight_objective_leak topping_weight_after_baked_weight_objective_leak VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE topping_weight_after_baked_weight_registered_leak topping_weight_after_baked_weight_registered_leak VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE stuffed_weight_after_baked_number stuffed_weight_after_baked_number VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE stuffed_weight_after_baked_weight_objective stuffed_weight_after_baked_weight_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE stuffed_weight_after_baked_weight_registered stuffed_weight_after_baked_weight_registered VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE stuffed_weight_after_baked_unit_objective stuffed_weight_after_baked_unit_objective VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE stuffed_weight_after_baked_unit_registered stuffed_weight_after_baked_unit_registered VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE stuffed_weight_after_baked_weight_objective_leak stuffed_weight_after_baked_weight_objective_leak VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`, CHANGE stuffed_weight_after_baked_weight_registered_leak stuffed_weight_after_baked_weight_registered_leak VARCHAR(15) CHARACTER SET utf8mb4 DEFAULT NULL COLLATE `utf8mb4_unicode_ci`');
  26.     }
  27. }