From 37f7c5a0ea272761793e072f2439e5b8e5f30e13 Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Tue, 20 Jan 2009 18:38:51 +0000 Subject: * Apply http://opensimulator.org/mantis/view.php?id=3020 * Adds a grid db implementation and unit tests to the NHibernate module --- OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_GridStore.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenSim/Data/NHibernate/Resources/SQLiteDialect') diff --git a/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_GridStore.sql b/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_GridStore.sql index 336a277..4f09848 100644 --- a/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_GridStore.sql +++ b/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_GridStore.sql @@ -22,12 +22,12 @@ CREATE TABLE Regions ( RegionUserURI VARCHAR(255) DEFAULT NULL, RegionUserRecvKey VARCHAR(128) DEFAULT NULL, RegionUserSendKey VARCHAR(128) DEFAULT NULL, - regionMapTexture VARCHAR(36) DEFAULT NULL, + RegionMapTextureId VARCHAR(36) DEFAULT NULL, ServerHttpPort INT DEFAULT NULL, ServerRemotingPort INT DEFAULT NULL, OwnerID VARCHAR(36) DEFAULT NULL, OriginID VARCHAR(36) DEFAULT NULL, - PRIMARY KEY (uuid), + PRIMARY KEY (RegionId) ); CREATE INDEX RegionNameIndex ON Regions (RegionName); -- cgit v1.1