aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MySQL/Resources/CreateAvatarAppearance.sql
diff options
context:
space:
mode:
authorSean Dague2008-05-19 21:47:31 +0000
committerSean Dague2008-05-19 21:47:31 +0000
commit6d2f6be82b82c96a7457c5b25ed0ca73e6039893 (patch)
treea1bf9925e55bab86779b24551d710cfc2eec12a2 /OpenSim/Data/MySQL/Resources/CreateAvatarAppearance.sql
parentprep for changes need to create the appearance tables (diff)
downloadopensim-SC-6d2f6be82b82c96a7457c5b25ed0ca73e6039893.zip
opensim-SC-6d2f6be82b82c96a7457c5b25ed0ca73e6039893.tar.gz
opensim-SC-6d2f6be82b82c96a7457c5b25ed0ca73e6039893.tar.bz2
opensim-SC-6d2f6be82b82c96a7457c5b25ed0ca73e6039893.tar.xz
autocreate appearance table if it isn't there
Diffstat (limited to 'OpenSim/Data/MySQL/Resources/CreateAvatarAppearance.sql')
-rw-r--r--OpenSim/Data/MySQL/Resources/CreateAvatarAppearance.sql39
1 files changed, 39 insertions, 0 deletions
diff --git a/OpenSim/Data/MySQL/Resources/CreateAvatarAppearance.sql b/OpenSim/Data/MySQL/Resources/CreateAvatarAppearance.sql
new file mode 100644
index 0000000..0deb099
--- /dev/null
+++ b/OpenSim/Data/MySQL/Resources/CreateAvatarAppearance.sql
@@ -0,0 +1,39 @@
1--
2-- Create schema avatar_appearance
3--
4
5DROP TABLE IF EXISTS `avatarappearance`;
6CREATE TABLE `avatarappearance` (
7 `UUID` char(36) NOT NULL,
8 `Serial` int(10) unsigned NOT NULL,
9 `WearableItem0` char(36) NOT NULL,
10 `WearableAsset0` char(36) NOT NULL,
11 `WearableItem1` char(36) NOT NULL,
12 `WearableAsset1` char(36) NOT NULL,
13 `WearableItem2` char(36) NOT NULL,
14 `WearableAsset2` char(36) NOT NULL,
15 `WearableItem3` char(36) NOT NULL,
16 `WearableAsset3` char(36) NOT NULL,
17 `WearableItem4` char(36) NOT NULL,
18 `WearableAsset4` char(36) NOT NULL,
19 `WearableItem5` char(36) NOT NULL,
20 `WearableAsset5` char(36) NOT NULL,
21 `WearableItem6` char(36) NOT NULL,
22 `WearableAsset6` char(36) NOT NULL,
23 `WearableItem7` char(36) NOT NULL,
24 `WearableAsset7` char(36) NOT NULL,
25 `WearableItem8` char(36) NOT NULL,
26 `WearableAsset8` char(36) NOT NULL,
27 `WearableItem9` char(36) NOT NULL,
28 `WearableAsset9` char(36) NOT NULL,
29 `WearableItem10` char(36) NOT NULL,
30 `WearableAsset10` char(36) NOT NULL,
31 `WearableItem11` char(36) NOT NULL,
32 `WearableAsset11` char(36) NOT NULL,
33 `WearableItem12` char(36) NOT NULL,
34 `WearableAsset12` char(36) NOT NULL,
35
36
37 PRIMARY KEY (`UUID`)
38) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Rev.1';
39