Fix missing very old table

This commit is contained in:
Laurent Destailleur 2021-07-11 19:39:18 +02:00
parent 52635e43b7
commit 41016039b6
3 changed files with 45 additions and 172 deletions

View File

@ -3123,64 +3123,6 @@ INSERT INTO `llx_c_typent` VALUES (1,'TE_STARTUP','Start-up',NULL,1,NULL,0),(2,'
/*!40000 ALTER TABLE `llx_c_typent` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `llx_c_ultimatepdf_line`
--
DROP TABLE IF EXISTS `llx_c_ultimatepdf_line`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_ultimatepdf_line` (
`rowid` int(11) NOT NULL AUTO_INCREMENT,
`entity` int(11) NOT NULL DEFAULT 1,
`code` varchar(30) NOT NULL,
`label` varchar(255) NOT NULL,
`description` varchar(128) NOT NULL,
`active` tinyint(4) NOT NULL DEFAULT 1,
PRIMARY KEY (`rowid`),
UNIQUE KEY `uk_c_ultimatepdf_line` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `llx_c_ultimatepdf_line`
--
LOCK TABLES `llx_c_ultimatepdf_line` WRITE;
/*!40000 ALTER TABLE `llx_c_ultimatepdf_line` DISABLE KEYS */;
INSERT INTO `llx_c_ultimatepdf_line` VALUES (1,1,'TEXTE1','Garantie 2 ans pièces et main d\'œuvre, retour en atelier (Hors filtre et pièce d\'usure)','texte de garantie',1);
/*!40000 ALTER TABLE `llx_c_ultimatepdf_line` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `llx_c_ultimatepdf_title`
--
DROP TABLE IF EXISTS `llx_c_ultimatepdf_title`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_c_ultimatepdf_title` (
`rowid` int(11) NOT NULL AUTO_INCREMENT,
`entity` int(11) NOT NULL DEFAULT 1,
`code` varchar(30) NOT NULL,
`label` varchar(128) NOT NULL,
`description` varchar(255) NOT NULL,
`active` tinyint(4) NOT NULL DEFAULT 1,
PRIMARY KEY (`rowid`),
UNIQUE KEY `uk_c_ultimatepdf_title` (`code`,`entity`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `llx_c_ultimatepdf_title`
--
LOCK TABLES `llx_c_ultimatepdf_title` WRITE;
/*!40000 ALTER TABLE `llx_c_ultimatepdf_title` DISABLE KEYS */;
INSERT INTO `llx_c_ultimatepdf_title` VALUES (1,1,'TITLE1','Facture Proforma','Facture proforma',1);
/*!40000 ALTER TABLE `llx_c_ultimatepdf_title` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `llx_c_units`
--
@ -4583,34 +4525,6 @@ INSERT INTO `llx_cronjob` VALUES (1,'2015-03-23 18:18:39','2015-03-23 19:18:39',
/*!40000 ALTER TABLE `llx_cronjob` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `llx_cv_recrutement`
--
DROP TABLE IF EXISTS `llx_cv_recrutement`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_cv_recrutement` (
`rowid` int(11) NOT NULL AUTO_INCREMENT,
`nom` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL,
`fichier` varchar(255) CHARACTER SET utf8mb4 DEFAULT NULL,
`poste` int(11) DEFAULT NULL,
`candidature` int(11) DEFAULT NULL,
`type` varchar(20) CHARACTER SET utf8mb4 DEFAULT NULL,
`date` date DEFAULT NULL,
PRIMARY KEY (`rowid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `llx_cv_recrutement`
--
LOCK TABLES `llx_cv_recrutement` WRITE;
/*!40000 ALTER TABLE `llx_cv_recrutement` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_cv_recrutement` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `llx_default_values`
--
@ -4778,31 +4692,6 @@ LOCK TABLES `llx_deliverydet_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_deliverydet_extrafields` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `llx_departements`
--
DROP TABLE IF EXISTS `llx_departements`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_departements` (
`rowid` int(11) NOT NULL AUTO_INCREMENT,
`label` varchar(355) CHARACTER SET utf8mb4 DEFAULT NULL,
`gestionnaire` int(11) NOT NULL,
PRIMARY KEY (`rowid`),
KEY `gestionnaire` (`gestionnaire`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `llx_departements`
--
LOCK TABLES `llx_departements` WRITE;
/*!40000 ALTER TABLE `llx_departements` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_departements` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `llx_deplacement`
--
@ -4842,40 +4731,6 @@ INSERT INTO `llx_deplacement` VALUES (1,NULL,1,'2012-07-09 01:58:04','2012-07-08
/*!40000 ALTER TABLE `llx_deplacement` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `llx_dispatch_asset`
--
DROP TABLE IF EXISTS `llx_dispatch_asset`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_dispatch_asset` (
`rowid` int(11) NOT NULL DEFAULT 0,
`date_cre` datetime DEFAULT NULL,
`date_maj` datetime DEFAULT NULL,
`fk_object` int(11) NOT NULL DEFAULT 0,
`fk_dispatch` int(11) NOT NULL DEFAULT 0,
`fk_asset` int(11) NOT NULL DEFAULT 0,
`type_object` varchar(30) CHARACTER SET latin1 DEFAULT NULL,
PRIMARY KEY (`rowid`),
KEY `date_cre` (`date_cre`),
KEY `date_maj` (`date_maj`),
KEY `fk_object` (`fk_object`),
KEY `fk_dispatch` (`fk_dispatch`),
KEY `fk_asset` (`fk_asset`),
KEY `type_object` (`type_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `llx_dispatch_asset`
--
LOCK TABLES `llx_dispatch_asset` WRITE;
/*!40000 ALTER TABLE `llx_dispatch_asset` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_dispatch_asset` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `llx_document_model`
--
@ -7388,7 +7243,7 @@ CREATE TABLE `llx_links` (
LOCK TABLES `llx_links` WRITE;
/*!40000 ALTER TABLE `llx_links` DISABLE KEYS */;
INSERT INTO `llx_links` VALUES (1,1,'2018-01-16 16:45:35','http://www.dolicloud.com','The DoliCoud service','societe',10),(2,1,'2018-01-16 17:14:35','https://www.dolistore.com/en/tools-documentation/12-SVG-file-for-85cm-x-200cm-rollup.html','Link to rollup file on dolistore.com','product',11),(3,1,'2018-01-22 17:40:23','http://www.nltechno.com','NLtechno portal','societe',10),(4,1,'2018-01-22 18:32:31','https://play.google.com/store/apps/details?id=com.nltechno.dolidroidpro','Link on Google Play','product',5),(6,1,'2019-11-28 16:52:58','https://www.youtube.com/watch?v=hJSXQj_KeE0','Link on YouTube','product',5),(7,1,'2019-11-28 16:53:46','https://www.youtube.com/watch?v=hMNjvManaF4&vl=fr','Link on YouTube','product',12);
INSERT INTO `ll _links` VALUES (1,1,'2018-01-16 16:45:35','http://www.dolicloud.com','The DoliCoud service','societe',10),(2,1,'2018-01-16 17:14:35','https://www.dolistore.com/en/tools-documentation/12-SVG-file-for-85cm-x-200cm-rollup.html','Link to rollup file on dolistore.com','product',11),(3,1,'2018-01-22 17:40:23','http://www.nltechno.com','NLtechno portal','societe',10),(4,1,'2018-01-22 18:32:31','https://play.google.com/store/apps/details?id=com.nltechno.dolidroidpro','Link on Google Play','product',5),(6,1,'2019-11-28 16:52:58','https://www.youtube.com/watch?v=hJSXQj_KeE0','Link on YouTube','product',5),(7,1,'2019-11-28 16:53:46','https://www.youtube.com/watch?v=hMNjvManaF4&vl=fr','Link on YouTube','product',12);
/*!40000 ALTER TABLE `llx_links` ENABLE KEYS */;
UNLOCK TABLES;
@ -7753,32 +7608,6 @@ LOCK TABLES `llx_mrp_mo_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_mrp_mo_extrafields` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `llx_mrp_myobject_extrafields`
--
DROP TABLE IF EXISTS `llx_mrp_myobject_extrafields`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `llx_mrp_myobject_extrafields` (
`rowid` int(11) NOT NULL AUTO_INCREMENT,
`tms` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`fk_object` int(11) NOT NULL,
`import_key` varchar(14) COLLATE utf8_unicode_ci DEFAULT NULL,
PRIMARY KEY (`rowid`),
KEY `idx_fk_object` (`fk_object`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `llx_mrp_myobject_extrafields`
--
LOCK TABLES `llx_mrp_myobject_extrafields` WRITE;
/*!40000 ALTER TABLE `llx_mrp_myobject_extrafields` DISABLE KEYS */;
/*!40000 ALTER TABLE `llx_mrp_myobject_extrafields` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `llx_mrp_production`
--

View File

@ -583,3 +583,16 @@ DROP TABLE llx_categorie_association;
DROP TABLE llx_cond_reglement;
DROP TABLE llx_zapier_hook_extrafields;
create table llx_onlinesignature
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
entity integer DEFAULT 1 NOT NULL,
object_type varchar(32) NOT NULL,
object_id integer NOT NULL,
datec datetime NOT NULL,
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
name varchar(255) NOT NULL,
ip varchar(128),
pathoffile varchar(255)
)ENGINE=innodb;

View File

@ -0,0 +1,31 @@
-- ===================================================================
-- Copyright (C) 2021 Laurent Destailleur <eldy@users.sourceforge.net>
--
-- This program is free software; you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation; either version 3 of the License, or
-- (at your option) any later version.
--
-- This program is distributed in the hope that it will be useful,
-- but WITHOUT ANY WARRANTY; without even the implied warranty of
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-- GNU General Public License for more details.
--
-- You should have received a copy of the GNU General Public License
-- along with this program. If not, see <https://www.gnu.org/licenses/>.
--
-- Table of with online signatures
-- ===================================================================
create table llx_onlinesignature
(
rowid integer AUTO_INCREMENT PRIMARY KEY,
entity integer DEFAULT 1 NOT NULL,
object_type varchar(32) NOT NULL,
object_id integer NOT NULL,
datec datetime NOT NULL,
tms timestamp DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
name varchar(255) NOT NULL,
ip varchar(128),
pathoffile varchar(255)
)ENGINE=innodb;