diff --git a/services/db/02-dumpedFixtures.sql b/services/db/02-dumpedFixtures.sql index e2235ffb5c..15ea83f07f 100644 --- a/services/db/02-dumpedFixtures.sql +++ b/services/db/02-dumpedFixtures.sql @@ -55,7 +55,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2018-04-10 15:09:27 +-- Dump completed on 2018-04-13 12:29:15 USE `salix`; -- MySQL dump 10.13 Distrib 5.7.21, for osx10.13 (x86_64) -- @@ -93,7 +93,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2018-04-10 15:09:27 +-- Dump completed on 2018-04-13 12:29:15 USE `vn`; -- MySQL dump 10.13 Distrib 5.7.21, for osx10.13 (x86_64) -- @@ -171,7 +171,7 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2018-04-10 15:09:27 +-- Dump completed on 2018-04-13 12:29:15 USE `vn2008`; -- MySQL dump 10.13 Distrib 5.7.21, for osx10.13 (x86_64) -- @@ -229,4 +229,4 @@ UNLOCK TABLES; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; --- Dump completed on 2018-04-10 15:09:27 +-- Dump completed on 2018-04-13 12:29:16 diff --git a/services/db/04-fixtures.sql b/services/db/04-fixtures.sql index 79e668dde0..f6d331e201 100644 --- a/services/db/04-fixtures.sql +++ b/services/db/04-fixtures.sql @@ -265,10 +265,6 @@ INSERT INTO `vn`.`state`(`id`, `name`, `order`, `alertLevel`, `code`) INSERT INTO `vn2008`.`empresa_grupo`(`empresa_grupo_id`, `grupo`) VALUES (1, 'Wayne Industries'); - -/* INSERT INTO `vn2008`.`empresa`(`id`, `abbreviation`, `gerente_id`, `digito_factura`, `Id_Proveedores_account`) - VALUES - (442, 'WAY', '20', '1', NULL); */ INSERT INTO `vn`.`company`(`id`, `code`, `supplierAccountFk`, `workerManagerFk`, `companyCode`, `sage200Company`) VALUES @@ -442,36 +438,7 @@ INSERT INTO `vn`.`saleChecked`(`saleFk`, `isChecked`) VALUES ( 1, 0), ( 2, 1); - -INSERT INTO `vn`.`componentTypeRate`(`id`, `type`) - VALUES - ( 1, 'agency'), - ( 2, 'client'), - ( 3, 'company'); - -INSERT INTO `vn`.`componentRate`(`id`, `name`, `componentTypeRate`, `classRate`, `tax`, `isRenewable`) - VALUES - ( 1, 'Special price', 1, NULL, NULL, 1), - ( 2, 'Delivery 1', 1, NULL, NULL, 1), - ( 3, 'Delivery 2', 1, NULL, NULL, 1), - ( 4, 'Delivery 3', 2, NULL, NULL, 1), - ( 5, 'Delivery 4', 2, NULL, NULL, 0), - ( 6, 'Delivery 5', 2, NULL, NULL, 0), - ( 7, 'Delivery 6', 2, NULL, NULL, 0), - ( 8, 'Mana', 3, 1, NULL, 0 ); - -INSERT INTO `vn`.`saleComponent`(`saleFk`, `componentFk`, `value`) - VALUES - ( 1, 1, 1), - ( 1, 2, 2.5), - ( 1, 3, 3), - ( 1, 4, 4.5), - ( 1, 5, 5), - ( 1, 6, 6.5), - ( 1, 7, 7), - ( 2, 2, 1.2 ); - - + INSERT INTO `vn`.`itemBarcode`(`id`, `itemFk`, `code`) VALUES (1, 1 ,1 ), diff --git a/services/db/export-data.cmd b/services/db/export-data.cmd index bffc1eb0be..9002072d3f 100755 --- a/services/db/export-data.cmd +++ b/services/db/export-data.cmd @@ -6,7 +6,7 @@ mysqldump --defaults-file=connect.ini --no-create-info salix ACL >> 02-dumpedFix echo USE `vn`; >> 02-dumpedFixtures.sql mysqldump --defaults-file=connect.ini --no-create-info vn cplusInvoiceType477 cplusSubjectOp cplusTaxBreak bookingPlanner pgc >> 02-dumpedFixtures.sql echo USE `vn2008`; >> 02-dumpedFixtures.sql -mysqldump --defaults-file=connect.ini --no-create-info vn2008 accion_dits Gastos Tintas >> 02-dumpedFixtures.sql +mysqldump --defaults-file=connect.ini --no-create-info vn2008 accion_dits Gastos Tintas tarifa_componentes tarifa_componentes_series >> 02-dumpedFixtures.sql diff --git a/services/db/export-data.sh b/services/db/export-data.sh index b53616d411..9b36bfa1f6 100755 --- a/services/db/export-data.sh +++ b/services/db/export-data.sh @@ -5,9 +5,9 @@ mysqldump --defaults-file=connect.ini --no-create-info account role roleRole rol echo "USE \`salix\`;" >> 02-dumpedFixtures.sql mysqldump --defaults-file=connect.ini --no-create-info salix ACL >> 02-dumpedFixtures.sql echo "USE \`vn\`;" >> 02-dumpedFixtures.sql -mysqldump --defaults-file=connect.ini --no-create-info vn cplusInvoiceType477 cplusSubjectOp cplusTaxBreak bookingPlanner pgc >> 02-dumpedFixtures.sql +mysqldump --defaults-file=connect.ini --no-create-info vn cplusInvoiceType477 cplusSubjectOp cplusTaxBreak bookingPlanner pgc >> 02-dumpedFixtures.sql echo "USE \`vn2008\`;" >> 02-dumpedFixtures.sql -mysqldump --defaults-file=connect.ini --no-create-info vn2008 accion_dits Gastos Tintas >> 02-dumpedFixtures.sql +mysqldump --defaults-file=connect.ini --no-create-info vn2008 accion_dits Gastos Tintas tarifa_componentes tarifa_componentes_series >> 02-dumpedFixtures.sql