diff options
author | AlexRa | 2010-05-01 17:43:10 +0300 |
---|---|---|
committer | AlexRa | 2010-05-16 17:04:13 +0300 |
commit | ee713cb253c1ef2d09de235964e02e7621649dd8 (patch) | |
tree | b85373e71ddc2ece69726ea60c0f636ccc302c72 /OpenSim/Data/MySQL/Resources/001_InventoryStore.sql | |
parent | Added MySqlMigrations.cs (supports stored proc/funcs) (diff) | |
download | opensim-SC_OLD-ee713cb253c1ef2d09de235964e02e7621649dd8.zip opensim-SC_OLD-ee713cb253c1ef2d09de235964e02e7621649dd8.tar.gz opensim-SC_OLD-ee713cb253c1ef2d09de235964e02e7621649dd8.tar.bz2 opensim-SC_OLD-ee713cb253c1ef2d09de235964e02e7621649dd8.tar.xz |
Converted MySQL migration history to the new format
Replaced all NNN_StoreName.sql migration resources with a more
readable, single-file-per-store
Diffstat (limited to 'OpenSim/Data/MySQL/Resources/001_InventoryStore.sql')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/001_InventoryStore.sql | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/OpenSim/Data/MySQL/Resources/001_InventoryStore.sql b/OpenSim/Data/MySQL/Resources/001_InventoryStore.sql deleted file mode 100644 index 40dc91c..0000000 --- a/OpenSim/Data/MySQL/Resources/001_InventoryStore.sql +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | BEGIN; | ||
2 | |||
3 | CREATE TABLE `inventoryfolders` ( | ||
4 | `folderID` varchar(36) NOT NULL default '', | ||
5 | `agentID` varchar(36) default NULL, | ||
6 | `parentFolderID` varchar(36) default NULL, | ||
7 | `folderName` varchar(64) default NULL, | ||
8 | `type` smallint NOT NULL default 0, | ||
9 | `version` int NOT NULL default 0, | ||
10 | PRIMARY KEY (`folderID`), | ||
11 | KEY `owner` (`agentID`), | ||
12 | KEY `parent` (`parentFolderID`) | ||
13 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
14 | |||
15 | CREATE TABLE `inventoryitems` ( | ||
16 | `inventoryID` varchar(36) NOT NULL default '', | ||
17 | `assetID` varchar(36) default NULL, | ||
18 | `assetType` int(11) default NULL, | ||
19 | `parentFolderID` varchar(36) default NULL, | ||
20 | `avatarID` varchar(36) default NULL, | ||
21 | `inventoryName` varchar(64) default NULL, | ||
22 | `inventoryDescription` varchar(128) default NULL, | ||
23 | `inventoryNextPermissions` int(10) unsigned default NULL, | ||
24 | `inventoryCurrentPermissions` int(10) unsigned default NULL, | ||
25 | `invType` int(11) default NULL, | ||
26 | `creatorID` varchar(36) default NULL, | ||
27 | `inventoryBasePermissions` int(10) unsigned NOT NULL default 0, | ||
28 | `inventoryEveryOnePermissions` int(10) unsigned NOT NULL default 0, | ||
29 | `salePrice` int(11) NOT NULL default 0, | ||
30 | `saleType` tinyint(4) NOT NULL default 0, | ||
31 | `creationDate` int(11) NOT NULL default 0, | ||
32 | `groupID` varchar(36) NOT NULL default '00000000-0000-0000-0000-000000000000', | ||
33 | `groupOwned` tinyint(4) NOT NULL default 0, | ||
34 | `flags` int(11) unsigned NOT NULL default 0, | ||
35 | PRIMARY KEY (`inventoryID`), | ||
36 | KEY `owner` (`avatarID`), | ||
37 | KEY `folder` (`parentFolderID`) | ||
38 | ) ENGINE=InnoDB DEFAULT CHARSET=utf8; | ||
39 | |||
40 | COMMIT; \ No newline at end of file | ||