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/SQLiteDialect/001_EstateStore.sql | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'OpenSim/Data/NHibernate/Resources/SQLiteDialect') diff --git a/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_EstateStore.sql b/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_EstateStore.sql index b540bc6..6e67630 100644 --- a/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_EstateStore.sql +++ b/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_EstateStore.sql @@ -38,3 +38,24 @@ CREATE TABLE EstateRegionLink ( CREATE INDEX EstateRegionLinkEstateIDIndex ON EstateRegionLink (EstateID); CREATE INDEX EstateRegionLinkERegionIDIndex ON EstateRegionLink (RegionID); + +CREATE TABLE EstateManagers ( + EstateID INT NOT NULL, + ManagerID VARCHAR(36) NOT NULL, + ArrayIndex INT NOT NULL, + PRIMARY KEY (EstateID,ArrayIndex) +); + +CREATE TABLE EstateUsers ( + EstateID INT NOT NULL, + UserID VARCHAR(36) NOT NULL, + ArrayIndex INT NOT NULL, + PRIMARY KEY (EstateID,ArrayIndex) +); + +CREATE TABLE EstateGroups ( + EstateID INT NOT NULL, + GroupID VARCHAR(36) NOT NULL, + ArrayIndex INT NOT NULL, + PRIMARY KEY (EstateID,ArrayIndex) +); -- cgit v1.1