add primitems migration for nhibernate

0.6.0-stable
Sean Dague 2008-07-23 22:14:23 +00:00
parent 4452ed60f8
commit 3c227390c0
1 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,27 @@
BEGIN;
CREATE TABLE `PrimItems` (
`InvType` int(11) default NULL,
`AssetType` int(11) default NULL,
`Name` varchar(255) default NULL,
`Description` varchar(255) default NULL,
`CreationDate` bigint(20) default NULL,
`NextPermissions` int(11) default NULL,
`CurrentPermissions` int(11) default NULL,
`BasePermissions` int(11) default NULL,
`EveryonePermissions` int(11) default NULL,
`GroupPermissions` int(11) default NULL,
`Flags` int(11) NOT NULL default '0',
`ItemID` char(36) NOT NULL default '',
`PrimID` char(36) default NULL,
`AssetID` char(36) default NULL,
`ParentFolderID` char(36) default NULL,
`CreatorID` char(36) default NULL,
`OwnerID` char(36) default NULL,
`GroupID` char(36) default NULL,
`LastOwnerID` char(36) default NULL,
PRIMARY KEY (`ItemID`),
KEY `primitems_primid` (`PrimID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
COMMIT;