12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- :VERSION 10
- BEGIN;
- CREATE TABLE IF NOT EXISTS `regions` (
- `uuid` varchar(36) NOT NULL,
- `regionHandle` bigint(20) unsigned NOT NULL,
- `regionName` varchar(128) DEFAULT NULL,
- `regionRecvKey` varchar(128) DEFAULT NULL,
- `regionSendKey` varchar(128) DEFAULT NULL,
- `regionSecret` varchar(128) DEFAULT NULL,
- `regionDataURI` varchar(255) DEFAULT NULL,
- `serverIP` varchar(64) DEFAULT NULL,
- `serverPort` int(10) unsigned DEFAULT NULL,
- `serverURI` varchar(255) DEFAULT NULL,
- `locX` int(10) unsigned DEFAULT NULL,
- `locY` int(10) unsigned DEFAULT NULL,
- `locZ` int(10) unsigned DEFAULT NULL,
- `eastOverrideHandle` bigint(20) unsigned DEFAULT NULL,
- `westOverrideHandle` bigint(20) unsigned DEFAULT NULL,
- `southOverrideHandle` bigint(20) unsigned DEFAULT NULL,
- `northOverrideHandle` bigint(20) unsigned DEFAULT NULL,
- `regionAssetURI` varchar(255) DEFAULT NULL,
- `regionAssetRecvKey` varchar(128) DEFAULT NULL,
- `regionAssetSendKey` varchar(128) DEFAULT NULL,
- `regionUserURI` varchar(255) DEFAULT NULL,
- `regionUserRecvKey` varchar(128) DEFAULT NULL,
- `regionUserSendKey` varchar(128) DEFAULT NULL,
- `regionMapTexture` varchar(36) DEFAULT NULL,
- `serverHttpPort` int(10) DEFAULT NULL,
- `serverRemotingPort` int(10) DEFAULT NULL,
- `owner_uuid` varchar(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
- `originUUID` varchar(36) DEFAULT NULL,
- `access` int(10) unsigned DEFAULT '1',
- `ScopeID` char(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
- `sizeX` int(11) NOT NULL DEFAULT '0',
- `sizeY` int(11) NOT NULL DEFAULT '0',
- `flags` int(11) NOT NULL DEFAULT '0',
- `last_seen` int(11) NOT NULL DEFAULT '0',
- `PrincipalID` char(36) NOT NULL DEFAULT '00000000-0000-0000-0000-000000000000',
- `Token` varchar(255) NOT NULL,
- `parcelMapTexture` varchar(36) DEFAULT NULL,
- PRIMARY KEY (`uuid`),
- KEY `regionName` (`regionName`),
- KEY `regionHandle` (`regionHandle`),
- KEY `overrideHandles` (`eastOverrideHandle`,`westOverrideHandle`,`southOverrideHandle`,`northOverrideHandle`),
- KEY `ScopeID` (`ScopeID`),
- KEY `flags` (`flags`)
- ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
- COMMIT;
|