Fixed errors

This commit is contained in:
Rooty 2021-09-23 04:39:41 +02:00
parent 1196a176c0
commit 9d01f55030
4 changed files with 22 additions and 4 deletions

View File

@ -267,8 +267,7 @@ CREATE TABLE `{_PREFIX_}node` (
#--
#-- Structure de la table `nodesettings`
#--
CREATE TABLE `{_PREFIX_}nodesettings` (
CREATE TABLE `sys_nodesettings` (
`node_id` int(4) NOT NULL,
`node_email` varchar(256) COLLATE utf8mb4_unicode_ci NOT NULL,
`node_git` varchar(256) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
@ -434,6 +433,12 @@ ALTER TABLE `{_PREFIX_}langue`
ALTER TABLE `{_PREFIX_}node`
ADD PRIMARY KEY (`node_id`);
#--
#-- Index pour la table `{_PREFIX_}nodesettings`
#--
ALTER TABLE `{_PREFIX_}nodesettings`
ADD UNIQUE KEY `node_id` (`node_id`);
#--
#-- Index pour la table `{_PREFIX_}node_group_user`
#--

View File

@ -130,6 +130,10 @@ INSERT INTO `{_PREFIX_}node` VALUES (2, 1, '<?xml version="1.0" encoding="UTF-8"
INSERT INTO `{_PREFIX_}node` VALUES (3, 1, '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n<fr_FR-utf8>Administration</fr_FR-utf8>\r\n</XML>\r\n\r\n</xml>', 'orange15.png', 'qware', 'www.qware.fr', 'off', 'off', 'off', 'default', '', 0, 0, 0, '');
INSERT INTO `{_PREFIX_}node` VALUES (99, 3, '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n<fr_FR-utf8>Configuration</fr_FR-utf8>\r\n</XML>\r\n\r\n</xml>', 'defaultnode.png', 'qware', 'www.qware.fr', 'off', 'off', 'off', 'default', '', 0, 0, 0, '');
INSERT INTO `{_PREFIX_}node` VALUES (100, 3, '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n<fr_FR-utf8>Site public</fr_FR-utf8>\r\n</XML>\r\n\r\n</xml>', 'defaultnode.png', 'qware', 'www.qware.fr', 'off', 'off', 'off', 'default', '', 0, 0, 0, '');
#--
#-- Contenu de la table `nodesettings`
#--
INSERT INTO `{_PREFIX_}nodesettings` VALUES (2, 'contact@qware.fr', 'https://git.fab-l3.org/tristan.champomier/Qware_core', 'https://social.fab-l3.org/@fablcube', '', '#qware:sim.fab-l3.org', '', '', '', '');
#-----------------------------------------------------------
#--
#-- Contenu de la table `node_group_user`

View File

@ -267,8 +267,7 @@ CREATE TABLE `{_PREFIX_}node` (
#--
#-- Structure de la table `nodesettings`
#--
CREATE TABLE `{_PREFIX_}nodesettings` (
CREATE TABLE `sys_nodesettings` (
`node_id` int(4) NOT NULL,
`node_email` varchar(256) COLLATE utf8mb4_unicode_ci NOT NULL,
`node_git` varchar(256) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
@ -434,6 +433,12 @@ ALTER TABLE `{_PREFIX_}langue`
ALTER TABLE `{_PREFIX_}node`
ADD PRIMARY KEY (`node_id`);
#--
#-- Index pour la table `{_PREFIX_}nodesettings`
#--
ALTER TABLE `{_PREFIX_}nodesettings`
ADD UNIQUE KEY `node_id` (`node_id`);
#--
#-- Index pour la table `{_PREFIX_}node_group_user`
#--

View File

@ -130,6 +130,10 @@ INSERT INTO `{_PREFIX_}node` VALUES (2, 1, '<?xml version="1.0" encoding="UTF-8"
INSERT INTO `{_PREFIX_}node` VALUES (3, 1, '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n<fr_FR-utf8>Administration</fr_FR-utf8>\r\n</XML>\r\n\r\n</xml>', 'orange15.png', 'qware', 'www.qware.fr', 'off', 'off', 'off', 'default', '', 0, 0, 0, '');
INSERT INTO `{_PREFIX_}node` VALUES (99, 3, '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n<fr_FR-utf8>Configuration</fr_FR-utf8>\r\n</XML>\r\n\r\n</xml>', 'defaultnode.png', 'qware', 'www.qware.fr', 'off', 'off', 'off', 'default', '', 0, 0, 0, '');
INSERT INTO `{_PREFIX_}node` VALUES (100, 3, '<?xml version="1.0" encoding="UTF-8" ?>\r\n\r\n<XML XLANGUECHAINEVERSION="1.0">\r\n<fr_FR-utf8>Site public</fr_FR-utf8>\r\n</XML>\r\n\r\n</xml>', 'defaultnode.png', 'qware', 'www.qware.fr', 'off', 'off', 'off', 'default', '', 0, 0, 0, '');
#--
#-- Contenu de la table `nodesettings`
#--
INSERT INTO `{_PREFIX_}nodesettings` VALUES (2, 'contact@qware.fr', 'https://git.fab-l3.org/tristan.champomier/Qware_core', 'https://social.fab-l3.org/@fablcube', '', '#qware:sim.fab-l3.org', '', '', '', '');
#-----------------------------------------------------------
#--
#-- Contenu de la table `node_group_user`