From 80759f708b1766b6fd36bbdb6ce69f292e64e2f0 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 16 Feb 2009 19:33:11 +0000 Subject: * Apply http://opensimulator.org/mantis/view.php?id=3166 * Adds estate access list supports to NHibernate data module * Thanks Tommil --- .../Resources/MsSql2005Dialect/001_EstateStore.sql | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'OpenSim/Data/NHibernate/Resources/MsSql2005Dialect') diff --git a/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_EstateStore.sql b/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_EstateStore.sql index 4ca51be..b852cbc 100644 --- a/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_EstateStore.sql +++ b/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_EstateStore.sql @@ -38,3 +38,25 @@ CREATE TABLE EstateRegionLink ( CREATE INDEX EstateRegionLinkEstateIDIndex ON EstateRegionLink (EstateID); CREATE INDEX EstateRegionLinkERegionIDIndex ON EstateRegionLink (RegionID); + + +CREATE TABLE EstateManagers ( + EstateID INT NOT NULL, + ManagerID NVARCHAR(36) NOT NULL, + ArrayIndex INT NOT NULL, + PRIMARY KEY (EstateID,ArrayIndex) +); + +CREATE TABLE EstateUsers ( + EstateID INT NOT NULL, + UserID NVARCHAR(36) NOT NULL, + ArrayIndex INT NOT NULL, + PRIMARY KEY (EstateID,ArrayIndex) +); + +CREATE TABLE EstateGroups ( + EstateID INT NOT NULL, + GroupID NVARCHAR(36) NOT NULL, + ArrayIndex INT NOT NULL, + PRIMARY KEY (EstateID,ArrayIndex) +); \ No newline at end of file -- cgit v1.1