Files
OSMW-OpenSim-Manager-Web/inc/config/sql/database.sql
T
Fgagod 85004884e7 Commit to Version 24-11
Commit to Version 24-11
2024-11-02 18:14:52 +01:00

80 lines
3.4 KiB
SQL

-- --------------------------------------------------------
-- Hôte: 127.0.0.1
-- Version du serveur: 8.0.30 - MySQL Community Server - GPL
-- SE du serveur: Win64
-- HeidiSQL Version: 12.1.0.6537
-- --------------------------------------------------------
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET NAMES utf8 */;
/*!50503 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Listage de la structure de la base pour osmw
CREATE DATABASE IF NOT EXISTS `osmw` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_0900_ai_ci */ /*!80016 DEFAULT ENCRYPTION='N' */;
USE `osmw`;
-- Listage de la structure de table osmw. config
CREATE TABLE IF NOT EXISTS `config` (
`id` int NOT NULL AUTO_INCREMENT,
`cheminAppli` varchar(50) NOT NULL,
`destinataire` varchar(50) NOT NULL,
`Autorized` int NOT NULL,
`NbAutorized` int NOT NULL,
`VersionOSMW` varchar(50) NOT NULL,
`urlOSMW` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=latin1;
-- Listage des données de la table osmw.config : 1 rows
/*!40000 ALTER TABLE `config` DISABLE KEYS */;
INSERT INTO `config` (`id`, `cheminAppli`, `destinataire`, `Autorized`, `NbAutorized`, `VersionOSMW`, `urlOSMW`) VALUES
(1, '/OSMW/', 'mymail@domain.com', 1, 4, 'Version 24.11', 'https://www.domain.com/');
/*!40000 ALTER TABLE `config` ENABLE KEYS */;
-- Listage de la structure de table osmw. moteurs
CREATE TABLE IF NOT EXISTS `moteurs` (
`osAutorise` tinyint NOT NULL AUTO_INCREMENT,
`id_os` varchar(50) NOT NULL,
`name` varchar(50) NOT NULL,
`version` varchar(50) NOT NULL,
`address` varchar(50) NOT NULL,
`DB_OS` varchar(50) NOT NULL,
`hypergrid` varchar(255) NOT NULL,
PRIMARY KEY (`osAutorise`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;
-- Listage des données de la table osmw.moteurs : 1 rows
/*!40000 ALTER TABLE `moteurs` DISABLE KEYS */;
INSERT INTO `moteurs` (`osAutorise`, `id_os`, `name`, `version`, `address`, `DB_OS`, `hypergrid`) VALUES
(1, 'Simulateur_1', 'Whitman Corporation', 'Opensim 0.9.3', 'C:/OPENSIM/', 'addon-modules/osgrid/config/osgrid.ini', 'hg.osgrid.org:80');
/*!40000 ALTER TABLE `moteurs` ENABLE KEYS */;
-- Listage de la structure de table osmw. users
CREATE TABLE IF NOT EXISTS `users` (
`id` int NOT NULL AUTO_INCREMENT,
`firstname` varchar(15) NOT NULL,
`lastname` varchar(15) NOT NULL,
`password` text NOT NULL,
`privilege` int NOT NULL,
`osAutorise` varchar(50) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=latin1;
-- Listage des données de la table osmw.users : 2 rows
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
INSERT INTO `users` (`id`, `firstname`, `lastname`, `password`, `privilege`, `osAutorise`) VALUES
(1, 'Super', 'Admin', 'dc79f6a0f51567c820d0535f0c72a77cc5152258', 4, '');
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=IFNULL(@OLD_TIME_ZONE, 'system') */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IFNULL(@OLD_FOREIGN_KEY_CHECKS, 1) */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40111 SET SQL_NOTES=IFNULL(@OLD_SQL_NOTES, 1) */;