From 70051278c448c130259d2ead4af1de1696879f58 Mon Sep 17 00:00:00 2001
From: Charles Krinke
Date: Mon, 9 Feb 2009 21:44:39 +0000
Subject: Thank you kindly, TLaukkan (Tommil) for a patch that: * Updated
 migration scripts and hbm.xml so that nhibernate tests work.

---
 OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_AssetStore.sql | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_AssetStore.sql')

diff --git a/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_AssetStore.sql b/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_AssetStore.sql
index b998653..4ece29a 100644
--- a/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_AssetStore.sql
+++ b/OpenSim/Data/NHibernate/Resources/MsSql2005Dialect/001_AssetStore.sql
@@ -1,5 +1,6 @@
 create table Assets (
-  ID NVARCHAR(255) not null,
+   ID NVARCHAR(36) not null,
+   MetadataID NVARCHAR(36) NOT NULL,  
    Type SMALLINT null,
    Name NVARCHAR(64) null,
    Description NVARCHAR(64) null,
-- 
cgit v1.1

