mirror of
https://github.com/opensim/opensim.git
synced 2026-08-01 14:16:07 +08:00
* Refactored the land table to be versionable in mySQL.
* Added AuthbuyerID so that if someone sets a land for sale to someone and then restarts the simulator, when the simulator comes back up, the setting persists.
This commit is contained in:
39
OpenSim/Data/MySQL/Resources/CreateLandTable.sql
Normal file
39
OpenSim/Data/MySQL/Resources/CreateLandTable.sql
Normal file
@@ -0,0 +1,39 @@
|
||||
CREATE TABLE `land`
|
||||
(
|
||||
`UUID` varchar (255) NOT NULL,
|
||||
`RegionUUID` varchar (255) DEFAULT NULL ,
|
||||
`LocalLandID` int (11) DEFAULT NULL ,
|
||||
`Bitmap` longblob,
|
||||
`Name` varchar (255) DEFAULT NULL ,
|
||||
`Description` varchar (255) DEFAULT NULL ,
|
||||
`OwnerUUID` varchar (255) DEFAULT NULL ,
|
||||
`IsGroupOwned` int (11) DEFAULT NULL ,
|
||||
`Area` int (11) DEFAULT NULL ,
|
||||
`AuctionID` int (11) DEFAULT NULL ,
|
||||
`Category` int (11) DEFAULT NULL ,
|
||||
`ClaimDate` int (11) DEFAULT NULL ,
|
||||
`ClaimPrice` int (11) DEFAULT NULL ,
|
||||
`GroupUUID` varchar (255) DEFAULT NULL ,
|
||||
`SalePrice` int (11) DEFAULT NULL ,
|
||||
`LandStatus` int (11) DEFAULT NULL ,
|
||||
`LandFlags` int (11) DEFAULT NULL ,
|
||||
`LandingType` int (11) DEFAULT NULL ,
|
||||
`MediaAutoScale` int (11) DEFAULT NULL ,
|
||||
`MediaTextureUUID` varchar (255) DEFAULT NULL ,
|
||||
`MediaURL` varchar (255) DEFAULT NULL ,
|
||||
`MusicURL` varchar (255) DEFAULT NULL ,
|
||||
`PassHours` float DEFAULT NULL ,
|
||||
`PassPrice` int (11) DEFAULT NULL ,
|
||||
`SnapshotUUID` varchar (255) DEFAULT NULL ,
|
||||
`UserLocationX` float DEFAULT NULL ,
|
||||
`UserLocationY` float DEFAULT NULL ,
|
||||
`UserLocationZ` float DEFAULT NULL ,
|
||||
`UserLookAtX` float DEFAULT NULL ,
|
||||
`UserLookAtY` float DEFAULT NULL ,
|
||||
`UserLookAtZ` float DEFAULT NULL ,
|
||||
`AuthbuyerID` varchar(36) default '00000000-0000-0000-0000-000000000000' not null,
|
||||
|
||||
PRIMARY KEY (`UUID`)
|
||||
)
|
||||
ENGINE=INNODB
|
||||
DEFAULT CHARSET=utf8 COMMENT='Rev. 2';
|
||||
Reference in New Issue
Block a user