feat: refs #8108 create tables itemTag #3102
|
@ -13,8 +13,6 @@ UPDATE vn.tag
|
|||
sourceTable='itemFarmingTag'
|
||||
WHERE name= 'cultivo';
|
||||
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `vn`.`itemWrappingTag` (
|
||||
`id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(50) DEFAULT NULL,
|
||||
|
@ -36,8 +34,6 @@ UPDATE vn.tag
|
|||
sourceTable='itemWrappingTag'
|
||||
WHERE name= 'Envoltorio';
|
||||
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `vn`.`itemLanguageTag` (
|
||||
`id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(50) DEFAULT NULL,
|
||||
|
@ -59,8 +55,6 @@ UPDATE vn.tag
|
|||
sourceTable='itemLanguageTag'
|
||||
WHERE name= 'Idioma';
|
||||
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `vn`.`itemStemTag` (
|
||||
`id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(50) DEFAULT NULL,
|
||||
|
@ -94,8 +88,6 @@ UPDATE vn.tag
|
|||
sourceTable='itemBreederTag'
|
||||
WHERE name= 'Obtentor';
|
||||
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `vn`.`itemBaseTag` (
|
||||
`id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(50) DEFAULT NULL,
|
||||
|
@ -120,8 +112,6 @@ UPDATE vn.tag
|
|||
sourceTable='itemBaseTag'
|
||||
WHERE name= 'Soporte';
|
||||
|
||||
|
||||
|
||||
CREATE TABLE IF NOT EXISTS `vn`.`itemVatRateTag` (
|
||||
`id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT,
|
||||
`name` varchar(50) DEFAULT NULL,
|
||||
|
@ -133,13 +123,11 @@ CREATE TABLE IF NOT EXISTS `vn`.`itemVatRateTag` (
|
|||
INSERT IGNORE INTO `vn`.`itemVatRateTag` (`name`) VALUES ('General');
|
||||
INSERT IGNORE INTO `vn`.`itemVatRateTag` (`name`) VALUES ('Reducido');
|
||||
|
||||
|
||||
UPDATE vn.tag
|
||||
SET isFree=0,
|
||||
sourceTable='itemVatRateTag'
|
||||
WHERE name= 'Tipo de IVA';
|
||||
|
||||
|
||||
GRANT SELECT, UPDATE, INSERT, DELETE ON TABLE vn.itemFarmingTag TO logisticAssist;
|
||||
GRANT SELECT, UPDATE, INSERT, DELETE ON TABLE vn.itemWrappingTag TO logisticAssist;
|
||||
GRANT SELECT, UPDATE, INSERT, DELETE ON TABLE vn.itemLanguageTag TO logisticAssist;
|
||||
|
|
Loading…
Reference in New Issue