Remove extra ID field from asset DB mapping. Mantis #3122, fixes Mantis #3080.

0.6.3-post-fixes
Mike Mazur 2009-02-13 00:02:26 +00:00
parent ad1e2e0b8b
commit ebf268a593
5 changed files with 0 additions and 5 deletions

View File

@ -6,7 +6,6 @@
</id> </id>
<property name="Data" type="binary" /> <property name="Data" type="binary" />
<component name="Metadata"> <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="Type" type="OpenSim.Data.NHibernate.SByteType, OpenSim.Data.NHibernate" />
<property name="Name" type="String" length="64" /> <property name="Name" type="String" length="64" />
<property name="Description" type="String" length="64" /> <property name="Description" type="String" length="64" />

View File

@ -1,6 +1,5 @@
create table Assets ( create table Assets (
ID NVARCHAR(36) not null, ID NVARCHAR(36) not null,
MetadataID NVARCHAR(36) NOT NULL,
Type SMALLINT null, Type SMALLINT null,
Name NVARCHAR(64) null, Name NVARCHAR(64) null,
Description NVARCHAR(64) null, Description NVARCHAR(64) null,

View File

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

View File

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

View File

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