diff options
Diffstat (limited to 'OpenSim/Data/MySQL/Resources')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/CreateItemsTable.sql | 12 | ||||
-rw-r--r-- | OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql | 2 |
2 files changed, 7 insertions, 7 deletions
diff --git a/OpenSim/Data/MySQL/Resources/CreateItemsTable.sql b/OpenSim/Data/MySQL/Resources/CreateItemsTable.sql index 24ebccd..ffdbe17 100644 --- a/OpenSim/Data/MySQL/Resources/CreateItemsTable.sql +++ b/OpenSim/Data/MySQL/Resources/CreateItemsTable.sql | |||
@@ -12,12 +12,12 @@ CREATE TABLE `inventoryitems` ( | |||
12 | `creatorID` varchar(36) default NULL, | 12 | `creatorID` varchar(36) default NULL, |
13 | `inventoryBasePermissions` int(10) unsigned NOT NULL default 0, | 13 | `inventoryBasePermissions` int(10) unsigned NOT NULL default 0, |
14 | `inventoryEveryOnePermissions` int(10) unsigned NOT NULL default 0, | 14 | `inventoryEveryOnePermissions` int(10) unsigned NOT NULL default 0, |
15 | `salePrice` int(11) default NULL, | 15 | `salePrice` int(11) NOT NULL default 0, |
16 | `saleType` tinyint(4) default NULL, | 16 | `saleType` tinyint(4) NOT NULL default 0, |
17 | `creationDate` int(11) default NULL, | 17 | `creationDate` int(11) NOT NULL default 0, |
18 | `groupID` varchar(36) default NULL, | 18 | `groupID` varchar(36) NOT NULL default '00000000-0000-0000-0000-000000000000', |
19 | `groupOwned` tinyint(4) default NULL, | 19 | `groupOwned` tinyint(4) NOT NULL default 0, |
20 | `flags` int(11) unsigned default NULL, | 20 | `flags` int(11) unsigned NOT NULL default 0, |
21 | PRIMARY KEY (`inventoryID`), | 21 | PRIMARY KEY (`inventoryID`), |
22 | KEY `owner` (`avatarID`), | 22 | KEY `owner` (`avatarID`), |
23 | KEY `folder` (`parentFolderID`) | 23 | KEY `folder` (`parentFolderID`) |
diff --git a/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql b/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql index 5bd6994..b4108ab 100644 --- a/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql +++ b/OpenSim/Data/MySQL/Resources/UpgradeItemsTableToVersion3.sql | |||
@@ -1,7 +1,7 @@ | |||
1 | ALTER TABLE `inventoryitems` | 1 | ALTER TABLE `inventoryitems` |
2 | ADD COLUMN `salePrice` int(11) NOT NULL default 0, | 2 | ADD COLUMN `salePrice` int(11) NOT NULL default 0, |
3 | ADD COLUMN `saleType` tinyint(4) NOT NULL default 0, | 3 | ADD COLUMN `saleType` tinyint(4) NOT NULL default 0, |
4 | ADD COLUMN `creationDate` int(11) NOT NULL default 3000, | 4 | ADD COLUMN `creationDate` int(11) NOT NULL default 0, |
5 | ADD COLUMN `groupID` varchar(36) NOT NULL default '00000000-0000-0000-0000-000000000000', | 5 | ADD COLUMN `groupID` varchar(36) NOT NULL default '00000000-0000-0000-0000-000000000000', |
6 | ADD COLUMN `groupOwned` tinyint(4) NOT NULL default 0, | 6 | ADD COLUMN `groupOwned` tinyint(4) NOT NULL default 0, |
7 | ADD COLUMN `flags` int(11) unsigned NOT NULL default 0, | 7 | ADD COLUMN `flags` int(11) unsigned NOT NULL default 0, |