Add extranet database schema
This commit is contained in:
parent
80bb349ed7
commit
4756f56009
18
Apps/Extranet/schema/aide.sql
Executable file
18
Apps/Extranet/schema/aide.sql
Executable file
@ -0,0 +1,18 @@
|
|||||||
|
--
|
||||||
|
-- Structure de la table `aide`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS `aide` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`methode` varchar(20) NOT NULL,
|
||||||
|
`champ` varchar(20) NOT NULL,
|
||||||
|
`texte` text NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Contenu de la table `aide`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `aide` (`id`, `methode`, `champ`, `texte`) VALUES
|
||||||
|
(1, 'Identite', 'Nom', 'Raison sociale / Nom de l''entreprise (format court avec\r\nabréviations)');
|
19
Apps/Extranet/schema/bilaninput.sql
Executable file
19
Apps/Extranet/schema/bilaninput.sql
Executable file
@ -0,0 +1,19 @@
|
|||||||
|
--
|
||||||
|
-- Structure de la table `bilaninput`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS `bilaninput` (
|
||||||
|
`file` varchar(255) NOT NULL COMMENT 'Nom du fichier',
|
||||||
|
`sent` tinyint(1) NOT NULL DEFAULT '0' COMMENT '1 si fichier envoyé',
|
||||||
|
`dateUpdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP
|
||||||
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Liste des bilans à transférer pour la saisie';
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Index pour les tables exportées
|
||||||
|
--
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Index pour la table `bilaninput`
|
||||||
|
--
|
||||||
|
ALTER TABLE `bilaninput`
|
||||||
|
ADD PRIMARY KEY (`file`), ADD KEY `sent` (`sent`);
|
22
Apps/Extranet/schema/bilansaisie.sql
Executable file
22
Apps/Extranet/schema/bilansaisie.sql
Executable file
@ -0,0 +1,22 @@
|
|||||||
|
--
|
||||||
|
-- Structure de la table `bilansaisie`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS `bilansaisie` (
|
||||||
|
`ref` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`clientId` int(11) NOT NULL,
|
||||||
|
`utilisateurId` int(11) NOT NULL,
|
||||||
|
`utilisateurLogin` varchar(50) NOT NULL,
|
||||||
|
`utilisateurEmail` varchar(100) NOT NULL,
|
||||||
|
`method` varchar(20) NOT NULL,
|
||||||
|
`confidentiel` int(1) NOT NULL,
|
||||||
|
`siren` varchar(9) NOT NULL,
|
||||||
|
`bilanCloture` varchar(10) NOT NULL,
|
||||||
|
`format` varchar(1) NOT NULL,
|
||||||
|
`bilanDuree` int(2) NOT NULL,
|
||||||
|
`fichier` varchar(50) NOT NULL,
|
||||||
|
`env` varchar(20) NOT NULL,
|
||||||
|
`dateInsert` datetime NOT NULL,
|
||||||
|
`dateEnvoi` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||||
|
PRIMARY KEY (`ref`)
|
||||||
|
) DEFAULT CHARSET=utf8;
|
12
Apps/Extranet/schema/client_stat.sql
Executable file
12
Apps/Extranet/schema/client_stat.sql
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS `client_stat` (
|
||||||
|
`idStat` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`idClient` char(5) NOT NULL,
|
||||||
|
`login` varchar(20) NOT NULL,
|
||||||
|
`platform` varchar(20) NOT NULL,
|
||||||
|
`browserName` varchar(22) NOT NULL,
|
||||||
|
`browserVersion` varchar(15) NOT NULL,
|
||||||
|
`isMobile` varchar(1) NOT NULL,
|
||||||
|
`screenSize` varchar(9) NOT NULL,
|
||||||
|
`dateInsert` datetime NOT NULL,
|
||||||
|
PRIMARY KEY (`idStat`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='statistique des navigateurs des clients' ;
|
15
Apps/Extranet/schema/commandes_erreur.sql
Executable file
15
Apps/Extranet/schema/commandes_erreur.sql
Executable file
@ -0,0 +1,15 @@
|
|||||||
|
--
|
||||||
|
-- Structure de la table `commandes_erreur`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS `commandes_erreur` (
|
||||||
|
`siren` varchar(9) NOT NULL,
|
||||||
|
`type` varchar(10) NOT NULL,
|
||||||
|
`ref` varchar(50) NOT NULL,
|
||||||
|
`dateCommande` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||||
|
`dateReception` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
|
||||||
|
`url` text NOT NULL,
|
||||||
|
`erreur` text NOT NULL,
|
||||||
|
`status` varchar(100) NOT NULL,
|
||||||
|
KEY `siren` (`siren`)
|
||||||
|
) DEFAULT CHARSET=utf8;
|
10
Apps/Extranet/schema/commandes_giants.sql
Executable file
10
Apps/Extranet/schema/commandes_giants.sql
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS `commandes_giants` (
|
||||||
|
`id` int(8) NOT NULL AUTO_INCREMENT,
|
||||||
|
`rapportId` int(8) NOT NULL,
|
||||||
|
`login` varchar(255) NOT NULL,
|
||||||
|
`date` date NOT NULL,
|
||||||
|
`typeReport` enum('FU','CO','CR','FL','NO','UR','FA') NOT NULL,
|
||||||
|
`price` float NOT NULL,
|
||||||
|
`pays` varchar(50) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
11
Apps/Extranet/schema/commandes_statut.sql
Executable file
11
Apps/Extranet/schema/commandes_statut.sql
Executable file
@ -0,0 +1,11 @@
|
|||||||
|
--
|
||||||
|
-- Structure de la table `commandes_statut`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS `commandes_statut` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`libStatut` varchar(200) NOT NULL,
|
||||||
|
`typeCommande` char(1) NOT NULL,
|
||||||
|
`ordre` int(11) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) DEFAULT CHARSET=utf8 ;
|
61
Apps/Extranet/schema/commandes_tarifs.sql
Executable file
61
Apps/Extranet/schema/commandes_tarifs.sql
Executable file
@ -0,0 +1,61 @@
|
|||||||
|
--
|
||||||
|
-- Structure de la table `commandes_tarifs`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS `commandes_tarifs` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`type` varchar(20) NOT NULL,
|
||||||
|
`codeTribunal` varchar(255) NOT NULL,
|
||||||
|
`prix` float NOT NULL,
|
||||||
|
`enveloppe` tinyint(1) NOT NULL,
|
||||||
|
`ordre` varchar(255) NOT NULL,
|
||||||
|
`annee` int(4) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Contenu de la table `commandes_tarifs`
|
||||||
|
--
|
||||||
|
|
||||||
|
INSERT INTO `commandes_tarifs` (`id`, `type`, `codeTribunal`, `prix`, `enveloppe`, `ordre`, `annee`) VALUES
|
||||||
|
(1, 'actes', 'CHARTC', 10.94, 0, '', 2010),
|
||||||
|
(2, 'bilans', 'CHARTC', 10.94, 0, '', 2010),
|
||||||
|
(3, 'actes', 'METZG', 10.94, 0, '', 2010),
|
||||||
|
(4, 'bilans', 'METZG', 10.94, 0, '', 2010),
|
||||||
|
(5, 'kbis', 'METZG', 3.11, 0, '', 2010),
|
||||||
|
(6, 'actes', 'COLMAG', 10.94, 0, '', 2010),
|
||||||
|
(7, 'bilans', 'COLMAG', 10.94, 0, '', 2010),
|
||||||
|
(8, 'kbis', 'COLMAG', 3.11, 0, '', 2010),
|
||||||
|
(9, 'privSecu', 'COLMAG', 3.11, 0, '', 2010),
|
||||||
|
(10, 'privTres', 'COLMAG', 3.11, 0, '', 2010),
|
||||||
|
(11, 'bilans', 'STRASG', 9.33, 1, 'Trésor Public', 2010),
|
||||||
|
(12, 'bilans', 'MULHOG', 9.33, 1, 'Trésor Public', 2010),
|
||||||
|
(13, 'bilans', 'COLMAG', 9.33, 1, 'Trésor Public', 2010),
|
||||||
|
(14, 'bilans', 'CAYENM', 7.8, 0, 'Régisseur TGI Cayenne', 2010),
|
||||||
|
(15, 'bilans', 'SARREI', 9.33, 1, 'Trésor Public', 2010),
|
||||||
|
(16, 'kbis', 'STRASG', 3.11, 1, 'Trésor Public', 2010),
|
||||||
|
(17, 'kbis', 'THIONG', 3.11, 1, 'Trésor Public', 2010),
|
||||||
|
(18, 'kbis', 'SAVERG', 3.11, 1, 'Trésor Public', 2010),
|
||||||
|
(19, 'kbis', 'SARREG', 3.11, 1, 'Trésor Public', 2010),
|
||||||
|
(20, 'actes', 'CHARTC', 10.94, 0, '', 2011),
|
||||||
|
(21, 'bilans', 'CHARTC', 10.94, 0, '', 2011),
|
||||||
|
(22, 'actes', 'METZG', 10.94, 0, '', 2011),
|
||||||
|
(23, 'bilans', 'METZG', 10.94, 0, '', 2011),
|
||||||
|
(24, 'kbis', 'METZG', 3.11, 0, '', 2011),
|
||||||
|
(25, 'actes', 'COLMAG', 10.94, 0, '', 2011),
|
||||||
|
(26, 'bilans', 'COLMAG', 10.94, 0, '', 2011),
|
||||||
|
(27, 'kbis', 'COLMAG', 3.11, 0, '', 2011),
|
||||||
|
(28, 'privSecu', 'COLMAG', 3.11, 0, '', 2011),
|
||||||
|
(29, 'privTres', 'COLMAG', 3.11, 0, '', 2011),
|
||||||
|
(30, 'bilans', 'STRASG', 9.33, 1, 'Trésor Public', 2011),
|
||||||
|
(31, 'bilans', 'MULHOG', 9.33, 1, 'Trésor Public', 2011),
|
||||||
|
(32, 'bilans', 'COLMAG', 9.33, 1, 'Trésor Public', 2011),
|
||||||
|
(33, 'bilans', 'CAYENM', 7.8, 0, 'Régisseur TGI Cayenne', 2011),
|
||||||
|
(34, 'bilans', 'SARREI', 9.33, 1, 'Trésor Public', 2011),
|
||||||
|
(35, 'kbis', 'STRASG', 3.11, 1, 'Trésor Public', 2011),
|
||||||
|
(36, 'kbis', 'THIONG', 3.11, 1, 'Trésor Public', 2011),
|
||||||
|
(37, 'kbis', 'SAVERG', 3.11, 1, 'Trésor Public', 2011),
|
||||||
|
(38, 'kbis', 'SARREG', 3.11, 1, 'Trésor Public', 2011),
|
||||||
|
(39, 'kbis', 'MULHOG', 3.11, 1, 'Trésor Public', 2011),
|
||||||
|
(40, 'kbis', 'FORTFM', 3.11, 0, 'Trésor Public', 2011),
|
||||||
|
(41, 'kbis', 'STDENM', 2.82, 1, 'TMX ST DENIS DE LA REUNION', 2011);
|
8
Apps/Extranet/schema/nouveautes.sql
Executable file
8
Apps/Extranet/schema/nouveautes.sql
Executable file
@ -0,0 +1,8 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS `nouveautes` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`categorie` varchar(100) NOT NULL,
|
||||||
|
`intitule` varchar(100) NOT NULL,
|
||||||
|
`date` date NOT NULL DEFAULT '0000-00-00',
|
||||||
|
`fichier` varchar(100) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) DEFAULT CHARSET=utf8;
|
14
Apps/Extranet/schema/rapports_giants.sql
Executable file
14
Apps/Extranet/schema/rapports_giants.sql
Executable file
@ -0,0 +1,14 @@
|
|||||||
|
--
|
||||||
|
-- Structure de la table `rapports_giants`
|
||||||
|
--
|
||||||
|
|
||||||
|
CREATE TABLE IF NOT EXISTS `rapports_giants` (
|
||||||
|
`id` int(8) NOT NULL AUTO_INCREMENT,
|
||||||
|
`companyId` varchar(255) NOT NULL,
|
||||||
|
`date` date NOT NULL,
|
||||||
|
`pays` enum('FR','ES','BE','NL','UK','DE') NOT NULL,
|
||||||
|
`type` enum('FU','CO','CR','FL') DEFAULT NULL,
|
||||||
|
`lang` varchar(2) CHARACTER SET utf8 NOT NULL,
|
||||||
|
`report` longtext NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) DEFAULT CHARSET=utf8;
|
6
Apps/Extranet/schema/tabDepartements.sql
Executable file
6
Apps/Extranet/schema/tabDepartements.sql
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS `tabDepartements` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`numdep` char(3) NOT NULL,
|
||||||
|
`libdep` char(45) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Departements';
|
12
Apps/Extranet/schema/tabDevises.sql
Executable file
12
Apps/Extranet/schema/tabDevises.sql
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS `tabDevises` (
|
||||||
|
`devIso` char(3) DEFAULT NULL COMMENT 'Code devise selon la ISO 4217 (3 lettres)',
|
||||||
|
`devChiffres` smallint(3) unsigned zerofill NOT NULL COMMENT 'Code devise selon la ISO 4217 numérique (3 chiffres)',
|
||||||
|
`devInpi` smallint(3) unsigned zerofill DEFAULT NULL COMMENT 'Code devise utilisé par l''INPI',
|
||||||
|
`devNom` char(50) DEFAULT NULL COMMENT 'Nom de la devise',
|
||||||
|
`devPaysIso` char(255) DEFAULT NULL,
|
||||||
|
`devNewIso` char(3) DEFAULT NULL COMMENT 'Si ancienne devise, nouvelle devise utilisée',
|
||||||
|
`dateInsert` datetime NOT NULL,
|
||||||
|
`dateUpdate` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
|
||||||
|
KEY `devIso` (`devIso`),
|
||||||
|
KEY `devInpi` (`devInpi`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Liste des devises';
|
7
Apps/Extranet/schema/tabEvenements.sql
Executable file
7
Apps/Extranet/schema/tabEvenements.sql
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS `tabEvenements` (
|
||||||
|
`codEven` smallint(4) unsigned zerofill NOT NULL DEFAULT '0000' COMMENT 'Code évènement du mouvement Bodacc',
|
||||||
|
`libEven` varchar(101) DEFAULT NULL COMMENT 'Libellé de l''évènement',
|
||||||
|
`libEvenEn` varchar(200) DEFAULT NULL COMMENT 'Libellé en Anglais',
|
||||||
|
PRIMARY KEY (`codEven`),
|
||||||
|
UNIQUE KEY `libEven` (`libEven`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Liste des évènements Scores & Décisions';
|
7
Apps/Extranet/schema/tabFJur.sql
Executable file
7
Apps/Extranet/schema/tabFJur.sql
Executable file
@ -0,0 +1,7 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS `tabFJur` (
|
||||||
|
`code` int(4) NOT NULL DEFAULT '0',
|
||||||
|
`libelle` varchar(100) DEFAULT NULL COMMENT 'Libellé de la forme juridique',
|
||||||
|
`libelleEn` varchar(100) NOT NULL COMMENT 'Traduction Anglaise',
|
||||||
|
PRIMARY KEY (`code`),
|
||||||
|
FULLTEXT KEY `libelle` (`libelle`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Référentiel des Formes Juridiques';
|
5
Apps/Extranet/schema/tabFctDir.sql
Executable file
5
Apps/Extranet/schema/tabFctDir.sql
Executable file
@ -0,0 +1,5 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS `tabFctDir` (
|
||||||
|
`codeFct` smallint(4) unsigned zerofill NOT NULL DEFAULT '0000',
|
||||||
|
`libelle` varchar(255) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`codeFct`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Liste des fonctions de direction';
|
10
Apps/Extranet/schema/tabNaf5.sql
Executable file
10
Apps/Extranet/schema/tabNaf5.sql
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS `tabNaf5tmp` (
|
||||||
|
`codNaf5` char(5) NOT NULL DEFAULT '',
|
||||||
|
`libNaf5` varchar(255) DEFAULT NULL,
|
||||||
|
`libNaf5en` varchar(255) DEFAULT NULL,
|
||||||
|
`codNaf4` char(4) DEFAULT NULL,
|
||||||
|
`codNaf3` char(3) DEFAULT NULL,
|
||||||
|
`codNaf2` char(2) DEFAULT NULL,
|
||||||
|
`codNaf1` char(1) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`codNaf5`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Code NAF rév 3 de 2013 (5 positions)';
|
30
Apps/Extranet/schema/tabPays.sql
Executable file
30
Apps/Extranet/schema/tabPays.sql
Executable file
@ -0,0 +1,30 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS `tabPays` (
|
||||||
|
`codPays` char(2) NOT NULL COMMENT 'Code Pays ISO 3166-1 alpha-2 sur 2 lettres',
|
||||||
|
`numPays` smallint(3) unsigned zerofill DEFAULT NULL COMMENT 'Code Pays ISO 3166-1 numeric sur 3 chiffres',
|
||||||
|
`codPays3` char(3) DEFAULT NULL COMMENT 'Code Pays ISO 3166-1 alpha-3 sur 3 lettres',
|
||||||
|
`codePaysInpi` smallint(3) unsigned zerofill DEFAULT NULL COMMENT 'Code pays numérique INPI',
|
||||||
|
`codePaysInsee` smallint(3) unsigned zerofill NOT NULL DEFAULT '000' COMMENT 'COG Insee du pays 3 chiffres',
|
||||||
|
`codeFips` char(2) DEFAULT NULL COMMENT 'Code standard des USA - FIPS PUB 10-4',
|
||||||
|
`codeTld` char(4) DEFAULT NULL COMMENT 'National Tol-Level Domain Names (Internet)',
|
||||||
|
`codeIoc` char(3) DEFAULT NULL COMMENT 'Code Pays du CIO (Comité Inter. Olympique)',
|
||||||
|
`codeITU` char(3) DEFAULT NULL COMMENT 'Code géré par l''International Telecommunications Union',
|
||||||
|
`codeDS` char(3) DEFAULT NULL COMMENT 'Distinguishing Signs of vehicles in international traffic (oval bumper sticker codes)',
|
||||||
|
`codeWMO` char(2) DEFAULT NULL COMMENT 'Code pays dans les rapports météo (World Meteorological Organization)',
|
||||||
|
`codeGAUL` char(6) DEFAULT NULL COMMENT 'Code Global Administrative Unit Layers (Food and Agriculture Organization)',
|
||||||
|
`codeMARC` char(5) DEFAULT NULL COMMENT 'Code MAchine-Readable Cataloging (Library of Congress)',
|
||||||
|
`dependance` char(3) DEFAULT NULL COMMENT 'Souvereneté exercée par ISO3166 trigraph',
|
||||||
|
`libPaysEN` varchar(50) NOT NULL COMMENT 'Libellé Anglais du pays',
|
||||||
|
`libPays` varchar(50) NOT NULL COMMENT 'Libellé Français du pays',
|
||||||
|
`libPaysMajAuto` varchar(50) NOT NULL COMMENT 'Libellé Français du pays en MAJ automatique',
|
||||||
|
`zone` enum('Afrique','Amérique du Nord','Amérique du Sud et centrale','Antarctique','Antilles, caraïbes','Asie','Europe de l''est','Europe occidentale','Moyen orient','Pacifique') DEFAULT NULL COMMENT 'Zone du monde (Continents ou océans)',
|
||||||
|
`drapeau` varchar(20) NOT NULL COMMENT 'Fichier drapeau',
|
||||||
|
`devise` char(3) NOT NULL COMMENT 'Code devise selon la ISO 4217 (3 lettres)',
|
||||||
|
`indTel` char(20) DEFAULT NULL COMMENT 'Indicatif téléphonique du pays selon ITU-T recommandation E.164 (international dialing code), suivi parfois d''un code géographique. Plusieurs indicatifs possibles (séparateur virgule)',
|
||||||
|
`remarques` varchar(255) NOT NULL,
|
||||||
|
`dateInsert` datetime NOT NULL COMMENT 'Date Insertion en base S&D',
|
||||||
|
`dateUpdate` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
|
||||||
|
PRIMARY KEY (`codPays`),
|
||||||
|
UNIQUE KEY `codePays3` (`codPays3`),
|
||||||
|
UNIQUE KEY `numPays` (`numPays`),
|
||||||
|
UNIQUE KEY `codePaysInpi` (`codePaysInpi`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COMMENT='Liste des pays et correspondances des codes pays';
|
6
Apps/Extranet/schema/tabVilles.sql
Executable file
6
Apps/Extranet/schema/tabVilles.sql
Executable file
@ -0,0 +1,6 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS `tabVilles` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`code` mediumint(5) UNSIGNED ZEROFILL DEFAULT NULL,
|
||||||
|
`libelle` char(45) NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='Codes Postales';
|
12
Apps/Extranet/schema/worldcheck.sql
Executable file
12
Apps/Extranet/schema/worldcheck.sql
Executable file
@ -0,0 +1,12 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS `worldcheck` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`idClient` char(5) NOT NULL,
|
||||||
|
`login` char(25) NOT NULL,
|
||||||
|
`nameIdentifier` varchar(23) NOT NULL,
|
||||||
|
`name` varchar(50) NOT NULL,
|
||||||
|
`siren` varchar(9) DEFAULT NULL,
|
||||||
|
`nameType` enum('INDIVIDUAL', 'ORGANISATION') NOT NULL,
|
||||||
|
`matchCount` int(4) DEFAULT NULL,
|
||||||
|
`dateInsert` date NOT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='worldcheck v2 2013-09-16';
|
10
Apps/Extranet/schema/worldcheck_a.sql
Executable file
10
Apps/Extranet/schema/worldcheck_a.sql
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS `worldcheck_a` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`entityIdP` varchar(23) NOT NULL,
|
||||||
|
`entityId` varchar(23) NOT NULL,
|
||||||
|
`nameType` varchar(30) DEFAULT NULL,
|
||||||
|
`fullName` varchar(30) DEFAULT NULL,
|
||||||
|
`givenName` varchar(30) DEFAULT NULL,
|
||||||
|
`lastName` varchar(30) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='worldcheck associates v1 2014-01-20';
|
9
Apps/Extranet/schema/worldcheck_list.sql
Executable file
9
Apps/Extranet/schema/worldcheck_list.sql
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
CREATE TABLE IF NOT EXISTS `worldcheck_list` (
|
||||||
|
`id` int(11) NOT NULL AUTO_INCREMENT,
|
||||||
|
`entityId` varchar(23) NOT NULL,
|
||||||
|
`nameType` varchar(30) DEFAULT NULL,
|
||||||
|
`fullName` varchar(30) DEFAULT NULL,
|
||||||
|
`givenName` varchar(30) DEFAULT NULL,
|
||||||
|
`lastName` varchar(30) DEFAULT NULL,
|
||||||
|
PRIMARY KEY (`id`)
|
||||||
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='worldcheck list of PP, PM v1 2014-01-20';
|
Loading…
Reference in New Issue
Block a user