Thank you kindly, TLaukkan (Tommil) for a patch that:

* Updated migration scripts and hbm.xml so that nhibernate tests work.
0.6.3-post-fixes
Charles Krinke 2009-02-09 21:44:39 +00:00
parent a034b640da
commit 70051278c4
5 changed files with 6 additions and 1 deletions

View File

@ -6,6 +6,7 @@
</id>
<property name="Data" type="binary" />
<component name="Metadata">
<property name="ID" column="MetadataID" type="String" length="36"/>
<property name="Type" type="OpenSim.Data.NHibernate.SByteType, OpenSim.Data.NHibernate" />
<property name="Name" type="String" length="64" />
<property name="Description" type="String" length="64" />

View File

@ -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,

View File

@ -1,5 +1,6 @@
CREATE TABLE Assets (
ID VARCHAR(36) NOT NULL,
MetadataID VARCHAR(36) NOT NULL,
Type TINYINT DEFAULT NULL,
Name VARCHAR(64) DEFAULT NULL,
Description VARCHAR(64) DEFAULT NULL,

View File

@ -1,5 +1,6 @@
CREATE TABLE Assets (
ID VARCHAR(36) NOT NULL,
MetadataID VARCHAR(36) NOT NULL,
Type SMALLINT DEFAULT NULL,
Name VARCHAR(64) DEFAULT NULL,
Description VARCHAR(64) DEFAULT NULL,

View File

@ -1,5 +1,6 @@
CREATE TABLE Assets (
ID VARCHAR(36) NOT NULL,
MetadataID VARCHAR(36) NOT NULL,
Type TINYINT DEFAULT NULL,
Name VARCHAR(64) DEFAULT NULL,
Description VARCHAR(64) DEFAULT NULL,