feat: refs #7929 create table material #2920

Merged
robert merged 8 commits from 7929-createTableMaterial into master 2024-09-06 04:30:08 +00:00
1 changed files with 1 additions and 125 deletions
Showing only changes of commit 684658bb96 - Show all commits

View File

@ -125,129 +125,5 @@ INSERT IGNORE INTO `material` (`name`) VALUES ('Plumas');
INSERT IGNORE INTO `material` (`name`) VALUES ('Protección Uva');
INSERT IGNORE INTO `material` (`name`) VALUES ('Purpurina');
CREATE TABLE IF NOT EXISTS `secondaryMaterial` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `name_UNIQUE` (`name`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Abedul');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Acacia');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Acero');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Acero Galvanizado');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Acetato');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Acrílico');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Alambre');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Algodón');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Aluminio');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Antracita');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Arcilla');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Bambú');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Banano');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Canneté');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Cartón');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Cartulina');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Celofán');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Cemento');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Cera');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Cerámica');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Chapa');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Chenilla');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Cloruro de polivinilo');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Cobre');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Corcho');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Cordel');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Cotton');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Cotton Chess');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Cristal');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Cubo Asa');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Cuerda');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Cuero');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Doble Raso');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Doble Velvet');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Eco Glass');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Encaje');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Esparto');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Espuma');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Felpa');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Fibra');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Fibra de Coco');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Fibra de Vidrio y Resina');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Fieltro');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Foam');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Gamuza');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Gasa');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Glass');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Goma');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Grafito');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Hierro');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Hoja Carbono');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Hoja de Mirto');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Hormigón');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Jute');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Kraft');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Lana');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Látex');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Latrix');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Lienzo');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Lino');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Lurex');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Madera');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Metacrilato');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Metal');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Mimbre');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Musgo');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Nonwoven');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Nylon');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Organza');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Paja');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Pana');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Papel');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Paperweb');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Paulownia');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Peluche');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Piedra');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Pizarra');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Plástico');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Poliestireno');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Polipropileno');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Poliresina');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Polyester');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Porcelana');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Puntilla');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('PVC');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Rafia');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Rama');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Raso');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Rattan');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Rayon');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Reciclable');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Red');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Resina');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Roca');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Rope');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Saco');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Salim');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Seagrass');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Silicona');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Sisal');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Tejido');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Tela');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Terciopelo');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Terracota');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Textil');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Titanio');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Tul');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Velvet');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Vidrio');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Yute');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Zinc');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Base de goma');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Base de madera');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Plumas');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Protección Uva');
INSERT IGNORE INTO `secondaryMaterial` (`name`) VALUES ('Purpurina');
UPDATE vn.tag SET isFree=0,sourceTable='material' WHERE name= 'Material';
UPDATE vn.tag SET isFree=0,sourceTable='secondaryMaterial' WHERE name='Material secundario';
UPDATE vn.tag SET isFree=0,sourceTable='material' WHERE name='Material secundario';