1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Christopher 50fb7a142d Update Schema file 2023-03-19 11:00:20 +01:00
Christopher 7185410822 add Regionmanager 2023-03-19 10:49:05 +01:00
2 changed files with 42 additions and 21 deletions

View File

@ -1,7 +1,7 @@
-- --------------------------------------------------------
-- Host: 10.0.0.11
-- Server Version: 10.4.3-MariaDB-1:10.4.3+maria~bionic - mariadb.org binary distribution
-- Server Betriebssystem: debian-linux-gnu
-- Host: 127.0.0.1
-- Server Version: 10.4.17-MariaDB - mariadb.org binary distribution
-- Server Betriebssystem: Win64
-- HeidiSQL Version: 11.2.0.6213
-- --------------------------------------------------------
@ -12,7 +12,7 @@
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
-- Exportiere Struktur von Tabelle opensimland.grids
-- Exportiere Struktur von Tabelle opensim.grids
CREATE TABLE IF NOT EXISTS `grids` (
`GridID` int(12) NOT NULL AUTO_INCREMENT,
`GridName` varchar(128) NOT NULL DEFAULT '',
@ -23,9 +23,11 @@ CREATE TABLE IF NOT EXISTS `grids` (
UNIQUE KEY `GridName` (`GridName`)
) ENGINE=InnoDB AUTO_INCREMENT=19771 DEFAULT CHARSET=utf8;
-- Daten Export vom Benutzer nicht ausgewählt
-- Exportiere Daten aus Tabelle opensim.grids: ~0 rows (ungefähr)
/*!40000 ALTER TABLE `grids` DISABLE KEYS */;
/*!40000 ALTER TABLE `grids` ENABLE KEYS */;
-- Exportiere Struktur von Tabelle opensimland.items
-- Exportiere Struktur von Tabelle opensim.items
CREATE TABLE IF NOT EXISTS `items` (
`ItemID` int(12) NOT NULL AUTO_INCREMENT,
`ObjectID` int(12) NOT NULL,
@ -40,9 +42,11 @@ CREATE TABLE IF NOT EXISTS `items` (
CONSTRAINT `FK_items_objects` FOREIGN KEY (`ObjectID`) REFERENCES `objects` (`ObjectID`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Daten Export vom Benutzer nicht ausgewählt
-- Exportiere Daten aus Tabelle opensim.items: ~0 rows (ungefähr)
/*!40000 ALTER TABLE `items` DISABLE KEYS */;
/*!40000 ALTER TABLE `items` ENABLE KEYS */;
-- Exportiere Struktur von Tabelle opensimland.objects
-- Exportiere Struktur von Tabelle opensim.objects
CREATE TABLE IF NOT EXISTS `objects` (
`ObjectID` int(12) NOT NULL AUTO_INCREMENT,
`ParcelID` int(12) NOT NULL,
@ -62,9 +66,11 @@ CREATE TABLE IF NOT EXISTS `objects` (
CONSTRAINT `FK_objects_parcels` FOREIGN KEY (`ParcelID`) REFERENCES `parcels` (`ParcelID`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Daten Export vom Benutzer nicht ausgewählt
-- Exportiere Daten aus Tabelle opensim.objects: ~0 rows (ungefähr)
/*!40000 ALTER TABLE `objects` DISABLE KEYS */;
/*!40000 ALTER TABLE `objects` ENABLE KEYS */;
-- Exportiere Struktur von Tabelle opensimland.onlinetimes
-- Exportiere Struktur von Tabelle opensim.onlinetimes
CREATE TABLE IF NOT EXISTS `onlinetimes` (
`RegionUUID` varchar(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
`RegionLastSeen` datetime NOT NULL,
@ -72,9 +78,11 @@ CREATE TABLE IF NOT EXISTS `onlinetimes` (
PRIMARY KEY (`RegionUUID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Daten Export vom Benutzer nicht ausgewählt
-- Exportiere Daten aus Tabelle opensim.onlinetimes: ~0 rows (ungefähr)
/*!40000 ALTER TABLE `onlinetimes` DISABLE KEYS */;
/*!40000 ALTER TABLE `onlinetimes` ENABLE KEYS */;
-- Exportiere Struktur von Tabelle opensimland.parcels
-- Exportiere Struktur von Tabelle opensim.parcels
CREATE TABLE IF NOT EXISTS `parcels` (
`ParcelID` int(12) NOT NULL AUTO_INCREMENT,
`RegionID` int(12) NOT NULL,
@ -95,9 +103,11 @@ CREATE TABLE IF NOT EXISTS `parcels` (
CONSTRAINT `FK_parcels_regions` FOREIGN KEY (`RegionID`) REFERENCES `regions` (`RegionID`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
-- Daten Export vom Benutzer nicht ausgewählt
-- Exportiere Daten aus Tabelle opensim.parcels: ~0 rows (ungefähr)
/*!40000 ALTER TABLE `parcels` DISABLE KEYS */;
/*!40000 ALTER TABLE `parcels` ENABLE KEYS */;
-- Exportiere Struktur von Tabelle opensimland.queue
-- Exportiere Struktur von Tabelle opensim.queue
CREATE TABLE IF NOT EXISTS `queue` (
`QueueID` varchar(38) NOT NULL,
`QueueType` varchar(24) NOT NULL,
@ -106,9 +116,11 @@ CREATE TABLE IF NOT EXISTS `queue` (
KEY `QueueType` (`QueueType`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Daten Export vom Benutzer nicht ausgewählt
-- Exportiere Daten aus Tabelle opensim.queue: ~0 rows (ungefähr)
/*!40000 ALTER TABLE `queue` DISABLE KEYS */;
/*!40000 ALTER TABLE `queue` ENABLE KEYS */;
-- Exportiere Struktur von Tabelle opensimland.regions
-- Exportiere Struktur von Tabelle opensim.regions
CREATE TABLE IF NOT EXISTS `regions` (
`RegionID` int(12) NOT NULL AUTO_INCREMENT,
`GridID` int(12) NOT NULL,
@ -120,6 +132,8 @@ CREATE TABLE IF NOT EXISTS `regions` (
`RegionImage` varchar(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
`RegionHostname` varchar(128) NOT NULL,
`RegionPort` int(8) NOT NULL DEFAULT 7000,
`RegionOwner` varchar(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
`RegionVersion` varchar(256) NOT NULL,
PRIMARY KEY (`RegionID`),
UNIQUE KEY `GridID_RegionName` (`GridID`,`RegionName`),
KEY `GridID` (`GridID`),
@ -128,9 +142,11 @@ CREATE TABLE IF NOT EXISTS `regions` (
CONSTRAINT `FK_regions_grids` FOREIGN KEY (`GridID`) REFERENCES `grids` (`GridID`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=19751 DEFAULT CHARSET=utf8;
-- Daten Export vom Benutzer nicht ausgewählt
-- Exportiere Daten aus Tabelle opensim.regions: ~0 rows (ungefähr)
/*!40000 ALTER TABLE `regions` DISABLE KEYS */;
/*!40000 ALTER TABLE `regions` ENABLE KEYS */;
-- Exportiere Struktur von Tabelle opensimland.textures
-- Exportiere Struktur von Tabelle opensim.textures
CREATE TABLE IF NOT EXISTS `textures` (
`TextureID` int(12) NOT NULL AUTO_INCREMENT,
`ObjectID` int(12) NOT NULL,
@ -141,9 +157,11 @@ CREATE TABLE IF NOT EXISTS `textures` (
CONSTRAINT `FK_textures_objects` FOREIGN KEY (`ObjectID`) REFERENCES `objects` (`ObjectID`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Daten Export vom Benutzer nicht ausgewählt
-- Exportiere Daten aus Tabelle opensim.textures: ~0 rows (ungefähr)
/*!40000 ALTER TABLE `textures` DISABLE KEYS */;
/*!40000 ALTER TABLE `textures` ENABLE KEYS */;
-- Exportiere Struktur von Tabelle opensimland.users
-- Exportiere Struktur von Tabelle opensim.users
CREATE TABLE IF NOT EXISTS `users` (
`UserID` int(12) NOT NULL AUTO_INCREMENT,
`GridID` int(12) NOT NULL,
@ -156,7 +174,9 @@ CREATE TABLE IF NOT EXISTS `users` (
CONSTRAINT `FK_users_grids` FOREIGN KEY (`GridID`) REFERENCES `grids` (`GridID`) ON DELETE CASCADE
) ENGINE=InnoDB AUTO_INCREMENT=19734 DEFAULT CHARSET=utf8;
-- Daten Export vom Benutzer nicht ausgewählt
-- Exportiere Daten aus Tabelle opensim.users: ~0 rows (ungefähr)
/*!40000 ALTER TABLE `users` DISABLE KEYS */;
/*!40000 ALTER TABLE `users` ENABLE KEYS */;
/*!40101 SET SQL_MODE=IFNULL(@OLD_SQL_MODE, '') */;
/*!40014 SET FOREIGN_KEY_CHECKS=IFNULL(@OLD_FOREIGN_KEY_CHECKS, 1) */;

View File

@ -15,6 +15,7 @@ include_once("classen/OpenSimulator/OSParcel.php");
include_once("classen/OpenSimulator/OSRegion.php");
include_once("classen/OpenSimulator/OSTexture.php");
include_once("classen/OpenSimulator/OSUser.php");
include_once("classen/RegionManager.php");
include_once("classen/OpenSimulator/OSAssetConecctor.php");