text: CREATE TABLE QualitySystem (id INT AUTO_INCREMENT NOT NULL, description VARCHAR(150) NOT NULL, enabled TINYINT(1) NOT NULL, created_at DATETIME NOT NULL, updated_at DATETIME NOT NULL, deletedAt DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE QualitySystem_audit (id INT NOT NULL, rev INT NOT NULL, description VARCHAR(150) DEFAULT NULL, enabled TINYINT(1) DEFAULT NULL, created_at DATETIME DEFAULT NULL, updated_at DATETIME DEFAULT NULL, deletedAt DATETIME DEFAULT NULL, revtype VARCHAR(4) NOT NULL, PRIMARY KEY(id, rev)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  ALTER TABLE seip_objetive DROP impactToSIG;
  ALTER TABLE seip_objetive_audit DROP impactToSIG;
  
  ALTER TABLE seip_objetive ADD qualitySystem_id INT DEFAULT NULL;
  ALTER TABLE seip_objetive ADD CONSTRAINT FK_C239594B68C46012 FOREIGN KEY (qualitySystem_id) REFERENCES QualitySystem (id);
  CREATE INDEX IDX_C239594B68C46012 ON seip_objetive (qualitySystem_id);
  ALTER TABLE seip_objetive_audit ADD qualitySystem_id INT DEFAULT NULL;
  
  ALTER TABLE Variable ADD equation LONGTEXT DEFAULT NULL;
  ALTER TABLE Variable_audit ADD equation LONGTEXT DEFAULT NULL;
  
  CREATE TABLE seip_cei_CauseStop (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, enabled TINYINT(1) NOT NULL, createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL, deletedAt DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_CauseStop_audit (id INT NOT NULL, rev INT NOT NULL, name VARCHAR(255) DEFAULT NULL, enabled TINYINT(1) DEFAULT NULL, createdAt DATETIME DEFAULT NULL, updatedAt DATETIME DEFAULT NULL, deletedAt DATETIME DEFAULT NULL, revtype VARCHAR(4) NOT NULL, PRIMARY KEY(id, rev)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_Company (id INT AUTO_INCREMENT NOT NULL, rif VARCHAR(12) NOT NULL, description VARCHAR(255) NOT NULL, enabled TINYINT(1) NOT NULL, createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL, deletedAt DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_Company_audit (id INT NOT NULL, rev INT NOT NULL, rif VARCHAR(12) DEFAULT NULL, description VARCHAR(255) DEFAULT NULL, enabled TINYINT(1) DEFAULT NULL, createdAt DATETIME DEFAULT NULL, updatedAt DATETIME DEFAULT NULL, deletedAt DATETIME DEFAULT NULL, revtype VARCHAR(4) NOT NULL, PRIMARY KEY(id, rev)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_Country (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, nameISO VARCHAR(255) NOT NULL, alphaCode VARCHAR(3) NOT NULL, numericalCode INT NOT NULL, enabled TINYINT(1) NOT NULL, createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL, deletedAt DATETIME DEFAULT NULL, UNIQUE INDEX alphaCode_idx (alphaCode), UNIQUE INDEX numericalCode_idx (numericalCode), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_Country_audit (id INT NOT NULL, rev INT NOT NULL, name VARCHAR(255) DEFAULT NULL, nameISO VARCHAR(255) DEFAULT NULL, alphaCode VARCHAR(3) DEFAULT NULL, numericalCode INT DEFAULT NULL, enabled TINYINT(1) DEFAULT NULL, createdAt DATETIME DEFAULT NULL, updatedAt DATETIME DEFAULT NULL, deletedAt DATETIME DEFAULT NULL, revtype VARCHAR(4) NOT NULL, PRIMARY KEY(id, rev)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_Currency (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, code VARCHAR(3) NOT NULL, enabled TINYINT(1) NOT NULL, createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL, deletedAt DATETIME DEFAULT NULL, UNIQUE INDEX code_idx (code), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_Currency_audit (id INT NOT NULL, rev INT NOT NULL, name VARCHAR(255) DEFAULT NULL, code VARCHAR(3) DEFAULT NULL, enabled TINYINT(1) DEFAULT NULL, createdAt DATETIME DEFAULT NULL, updatedAt DATETIME DEFAULT NULL, deletedAt DATETIME DEFAULT NULL, revtype VARCHAR(4) NOT NULL, PRIMARY KEY(id, rev)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_Location (id INT AUTO_INCREMENT NOT NULL, company_id INT NOT NULL, name LONGTEXT NOT NULL, enabled TINYINT(1) NOT NULL, createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL, deletedAt DATETIME DEFAULT NULL, typeLocation_id INT NOT NULL, INDEX IDX_719C263D979B1AD6 (company_id), INDEX IDX_719C263DFE998804 (typeLocation_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_Location_audit (id INT NOT NULL, rev INT NOT NULL, company_id INT DEFAULT NULL, name LONGTEXT DEFAULT NULL, enabled TINYINT(1) DEFAULT NULL, createdAt DATETIME DEFAULT NULL, updatedAt DATETIME DEFAULT NULL, deletedAt DATETIME DEFAULT NULL, typeLocation_id INT DEFAULT NULL, revtype VARCHAR(4) NOT NULL, PRIMARY KEY(id, rev)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_Plant (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, enabled TINYINT(1) NOT NULL, createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL, deletedAt DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_Plant_audit (id INT NOT NULL, rev INT NOT NULL, name VARCHAR(255) DEFAULT NULL, enabled TINYINT(1) DEFAULT NULL, createdAt DATETIME DEFAULT NULL, updatedAt DATETIME DEFAULT NULL, deletedAt DATETIME DEFAULT NULL, revtype VARCHAR(4) NOT NULL, PRIMARY KEY(id, rev)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_Product (id INT AUTO_INCREMENT NOT NULL, name LONGTEXT NOT NULL, enabled TINYINT(1) NOT NULL, createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL, deletedAt DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_Product_audit (id INT NOT NULL, rev INT NOT NULL, name LONGTEXT DEFAULT NULL, enabled TINYINT(1) DEFAULT NULL, createdAt DATETIME DEFAULT NULL, updatedAt DATETIME DEFAULT NULL, deletedAt DATETIME DEFAULT NULL, revtype VARCHAR(4) NOT NULL, PRIMARY KEY(id, rev)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_ProductionLine (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, enabled TINYINT(1) NOT NULL, createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL, deletedAt DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_ProductionLine_audit (id INT NOT NULL, rev INT NOT NULL, name VARCHAR(255) DEFAULT NULL, enabled TINYINT(1) DEFAULT NULL, createdAt DATETIME DEFAULT NULL, updatedAt DATETIME DEFAULT NULL, deletedAt DATETIME DEFAULT NULL, revtype VARCHAR(4) NOT NULL, PRIMARY KEY(id, rev)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_RecordType (id INT AUTO_INCREMENT NOT NULL, description LONGTEXT NOT NULL, enabled TINYINT(1) NOT NULL, createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL, deletedAt DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_RecordType_audit (id INT NOT NULL, rev INT NOT NULL, description LONGTEXT DEFAULT NULL, enabled TINYINT(1) DEFAULT NULL, createdAt DATETIME DEFAULT NULL, updatedAt DATETIME DEFAULT NULL, deletedAt DATETIME DEFAULT NULL, revtype VARCHAR(4) NOT NULL, PRIMARY KEY(id, rev)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_Sector (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, description LONGTEXT NOT NULL, enabled TINYINT(1) NOT NULL, createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL, deletedAt DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_Sector_audit (id INT NOT NULL, rev INT NOT NULL, name VARCHAR(255) DEFAULT NULL, description LONGTEXT DEFAULT NULL, enabled TINYINT(1) DEFAULT NULL, createdAt DATETIME DEFAULT NULL, updatedAt DATETIME DEFAULT NULL, deletedAt DATETIME DEFAULT NULL, revtype VARCHAR(4) NOT NULL, PRIMARY KEY(id, rev)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_SubSector (id INT AUTO_INCREMENT NOT NULL, sector_id INT NOT NULL, name VARCHAR(255) NOT NULL, description LONGTEXT NOT NULL, enabled TINYINT(1) NOT NULL, createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL, deletedAt DATETIME DEFAULT NULL, INDEX IDX_7E82017DDE95C867 (sector_id), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_SubSector_audit (id INT NOT NULL, rev INT NOT NULL, sector_id INT DEFAULT NULL, name VARCHAR(255) DEFAULT NULL, description LONGTEXT DEFAULT NULL, enabled TINYINT(1) DEFAULT NULL, createdAt DATETIME DEFAULT NULL, updatedAt DATETIME DEFAULT NULL, deletedAt DATETIME DEFAULT NULL, revtype VARCHAR(4) NOT NULL, PRIMARY KEY(id, rev)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_TypeIncidence (id INT AUTO_INCREMENT NOT NULL, name VARCHAR(255) NOT NULL, enabled TINYINT(1) NOT NULL, createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL, deletedAt DATETIME DEFAULT NULL, PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_TypeIncidence_audit (id INT NOT NULL, rev INT NOT NULL, name VARCHAR(255) DEFAULT NULL, enabled TINYINT(1) DEFAULT NULL, createdAt DATETIME DEFAULT NULL, updatedAt DATETIME DEFAULT NULL, deletedAt DATETIME DEFAULT NULL, revtype VARCHAR(4) NOT NULL, PRIMARY KEY(id, rev)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_TypeLocation (id INT AUTO_INCREMENT NOT NULL, description LONGTEXT NOT NULL, code VARCHAR(50) NOT NULL, enabled TINYINT(1) NOT NULL, createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL, deletedAt DATETIME DEFAULT NULL, UNIQUE INDEX code_idx (code), PRIMARY KEY(id)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  CREATE TABLE seip_cei_TypeLocation_audit (id INT NOT NULL, rev INT NOT NULL, description LONGTEXT DEFAULT NULL, code VARCHAR(50) DEFAULT NULL, enabled TINYINT(1) DEFAULT NULL, createdAt DATETIME DEFAULT NULL, updatedAt DATETIME DEFAULT NULL, deletedAt DATETIME DEFAULT NULL, revtype VARCHAR(4) NOT NULL, PRIMARY KEY(id, rev)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  ALTER TABLE seip_cei_Location ADD CONSTRAINT FK_719C263D979B1AD6 FOREIGN KEY (company_id) REFERENCES seip_cei_Company (id);
  ALTER TABLE seip_cei_Location ADD CONSTRAINT FK_719C263DFE998804 FOREIGN KEY (typeLocation_id) REFERENCES seip_cei_TypeLocation (id);
  ALTER TABLE seip_cei_SubSector ADD CONSTRAINT FK_7E82017DDE95C867 FOREIGN KEY (sector_id) REFERENCES seip_cei_Sector (id);
  
  ALTER TABLE seip_c_line_strategic ADD `order` INT DEFAULT NULL;
  CREATE TABLE seip_c_line_strategic_audit (id INT NOT NULL, rev INT NOT NULL, fk_user_created_at INT DEFAULT NULL, fk_user_updated_at INT DEFAULT NULL, created_at DATETIME DEFAULT NULL, updated_at DATETIME DEFAULT NULL, description VARCHAR(150) DEFAULT NULL, ref VARCHAR(15) DEFAULT NULL, politics VARCHAR(300) DEFAULT NULL, level_name VARCHAR(50) DEFAULT NULL, level INT DEFAULT NULL, enabled TINYINT(1) DEFAULT NULL, deletedAt DATETIME DEFAULT NULL, orderShow INT DEFAULT NULL, revtype VARCHAR(4) NOT NULL, PRIMARY KEY(id, rev)) DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci ENGINE = InnoDB;
  ALTER TABLE seip_c_line_strategic ADD orderShow INT NOT NULL, DROP `order`;
  
  ALTER TABLE Variable ADD staticValue TINYINT(1) NOT NULL;
  ALTER TABLE Variable_audit ADD staticValue TINYINT(1) DEFAULT NULL;
  