UpgradeItemsTableToVersion2.sql 411 B

123456789
  1. ALTER TABLE `inventoryitems`
  2. CHANGE COLUMN `type` `assetType` int(11) default NULL,
  3. ADD COLUMN `invType` int(11) default NULL,
  4. ADD COLUMN `creatorID` varchar(36) default NULL,
  5. ADD COLUMN `inventoryBasePermissions` int(10) unsigned NOT NULL default 0,
  6. ADD COLUMN `inventoryEveryOnePermissions` int(10) unsigned NOT NULL default 0,
  7. COMMENT='Rev. 2';
  8. UPDATE `inventoryitems` SET invType=assetType;