aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-04-30 19:13:06 +0000
committerJustin Clarke Casey2008-04-30 19:13:06 +0000
commitf57ff4c36bab3b9e26c55d64afde251bf07a2de3 (patch)
tree6d0ff3bf8aa7a4c18fcb3ddd4ab8d15f7a3d7693
parent* Completely inconsequential inventory odds and ends (actual impact - only on... (diff)
downloadopensim-SC-f57ff4c36bab3b9e26c55d64afde251bf07a2de3.zip
opensim-SC-f57ff4c36bab3b9e26c55d64afde251bf07a2de3.tar.gz
opensim-SC-f57ff4c36bab3b9e26c55d64afde251bf07a2de3.tar.bz2
opensim-SC-f57ff4c36bab3b9e26c55d64afde251bf07a2de3.tar.xz
* Change new inventory groupID field to 36 rather than 63
* Add updated stub mssql inventory sql (only really because I was in the middle of this when I spotted the numeric transposition)
-rw-r--r--OpenSim/Data/MSSQL/Resources/CreateItemsTable.sql8
-rw-r--r--OpenSim/Data/MySQL/Resources/CreateItemsTable.sql2
2 files changed, 8 insertions, 2 deletions
diff --git a/OpenSim/Data/MSSQL/Resources/CreateItemsTable.sql b/OpenSim/Data/MSSQL/Resources/CreateItemsTable.sql
index 5bb27ba..435d269 100644
--- a/OpenSim/Data/MSSQL/Resources/CreateItemsTable.sql
+++ b/OpenSim/Data/MSSQL/Resources/CreateItemsTable.sql
@@ -17,7 +17,13 @@ CREATE TABLE [inventoryitems] (
17 [invType] [int] default NULL, 17 [invType] [int] default NULL,
18 [creatorID] [varchar](36) default NULL, 18 [creatorID] [varchar](36) default NULL,
19 [inventoryBasePermissions] [int] NOT NULL default 0, 19 [inventoryBasePermissions] [int] NOT NULL default 0,
20 [inventoryEveryOnePermissions] [int] NOT NULL default 0, 20 [inventoryEveryOnePermissions] [int] NOT NULL default 0,
21 [salePrice] [int] default NULL,
22 [saleType] [smallint] default NULL,
23 [creationDate] [int] default NULL,
24 [groupID] [varchar](36) default NULL,
25 [groupOwned] [smallint] default NULL,
26 [flags] [int] unsigned default NULL,
21 PRIMARY KEY CLUSTERED 27 PRIMARY KEY CLUSTERED
22( 28(
23 [inventoryID] ASC 29 [inventoryID] ASC
diff --git a/OpenSim/Data/MySQL/Resources/CreateItemsTable.sql b/OpenSim/Data/MySQL/Resources/CreateItemsTable.sql
index c8b7481..24ebccd 100644
--- a/OpenSim/Data/MySQL/Resources/CreateItemsTable.sql
+++ b/OpenSim/Data/MySQL/Resources/CreateItemsTable.sql
@@ -15,7 +15,7 @@ CREATE TABLE `inventoryitems` (
15 `salePrice` int(11) default NULL, 15 `salePrice` int(11) default NULL,
16 `saleType` tinyint(4) default NULL, 16 `saleType` tinyint(4) default NULL,
17 `creationDate` int(11) default NULL, 17 `creationDate` int(11) default NULL,
18 `groupID` varchar(63) default NULL, 18 `groupID` varchar(36) default NULL,
19 `groupOwned` tinyint(4) default NULL, 19 `groupOwned` tinyint(4) default NULL,
20 `flags` int(11) unsigned default NULL, 20 `flags` int(11) unsigned default NULL,
21 PRIMARY KEY (`inventoryID`), 21 PRIMARY KEY (`inventoryID`),