aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/Data.MySQL/Resources/UpgradeItemsTableToVersion2.sql
blob: d1ef504b50fa8b3d447372bf0827584e31a2eb0a (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;