aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MySQL/Resources/UpgradeItemsTableToVersion2.sql
blob: c47786ca09c5eb96fb192f0571a6756ad78254ed (plain)
1
2
3
4
5
6
7
8
9
ALTER TABLE `inventoryitems` 
	CHANGE COLUMN `type` `assetType` int(11) default NULL,
	ADD COLUMN `invType` int(11) default NULL,
	ADD COLUMN `creatorID` varchar(36) default NULL,
	ADD COLUMN `inventoryBasePermissions` int(10) unsigned NOT NULL default 0,
	ADD COLUMN `inventoryEveryOnePermissions` int(10) unsigned NOT NULL default 0,
COMMENT='Rev. 2';

UPDATE `inventoryitems` SET invType=assetType;