diff options
author | David Walter Seikel | 2016-11-03 21:44:39 +1000 |
---|---|---|
committer | David Walter Seikel | 2016-11-03 21:44:39 +1000 |
commit | 134f86e8d5c414409631b25b8c6f0ee45fbd8631 (patch) | |
tree | 216b89d3fb89acfb81be1e440c25c41ab09fa96d /sql/osprofile.sql | |
parent | More changing to production grid. Double oops. (diff) | |
download | opensim-SC_OLD-134f86e8d5c414409631b25b8c6f0ee45fbd8631.zip opensim-SC_OLD-134f86e8d5c414409631b25b8c6f0ee45fbd8631.tar.gz opensim-SC_OLD-134f86e8d5c414409631b25b8c6f0ee45fbd8631.tar.bz2 opensim-SC_OLD-134f86e8d5c414409631b25b8c6f0ee45fbd8631.tar.xz |
Initial update to OpenSim 0.8.2.1 source code.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/UserProfiles.migrations (renamed from sql/osprofile.sql) | 32 |
1 files changed, 31 insertions, 1 deletions
diff --git a/sql/osprofile.sql b/OpenSim/Data/MySQL/Resources/UserProfiles.migrations index bcd5be0..87e99fa 100644 --- a/sql/osprofile.sql +++ b/OpenSim/Data/MySQL/Resources/UserProfiles.migrations | |||
@@ -1,3 +1,7 @@ | |||
1 | :VERSION 1 # ------------------------------- | ||
2 | |||
3 | begin; | ||
4 | |||
1 | CREATE TABLE IF NOT EXISTS `classifieds` ( | 5 | CREATE TABLE IF NOT EXISTS `classifieds` ( |
2 | `classifieduuid` char(36) NOT NULL, | 6 | `classifieduuid` char(36) NOT NULL, |
3 | `creatoruuid` char(36) NOT NULL, | 7 | `creatoruuid` char(36) NOT NULL, |
@@ -15,7 +19,8 @@ CREATE TABLE IF NOT EXISTS `classifieds` ( | |||
15 | `classifiedflags` int(8) NOT NULL, | 19 | `classifiedflags` int(8) NOT NULL, |
16 | `priceforlisting` int(5) NOT NULL, | 20 | `priceforlisting` int(5) NOT NULL, |
17 | PRIMARY KEY (`classifieduuid`) | 21 | PRIMARY KEY (`classifieduuid`) |
18 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | 22 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
23 | |||
19 | 24 | ||
20 | CREATE TABLE IF NOT EXISTS `usernotes` ( | 25 | CREATE TABLE IF NOT EXISTS `usernotes` ( |
21 | `useruuid` varchar(36) NOT NULL, | 26 | `useruuid` varchar(36) NOT NULL, |
@@ -24,6 +29,7 @@ CREATE TABLE IF NOT EXISTS `usernotes` ( | |||
24 | UNIQUE KEY `useruuid` (`useruuid`,`targetuuid`) | 29 | UNIQUE KEY `useruuid` (`useruuid`,`targetuuid`) |
25 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | 30 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
26 | 31 | ||
32 | |||
27 | CREATE TABLE IF NOT EXISTS `userpicks` ( | 33 | CREATE TABLE IF NOT EXISTS `userpicks` ( |
28 | `pickuuid` varchar(36) NOT NULL, | 34 | `pickuuid` varchar(36) NOT NULL, |
29 | `creatoruuid` varchar(36) NOT NULL, | 35 | `creatoruuid` varchar(36) NOT NULL, |
@@ -41,6 +47,7 @@ CREATE TABLE IF NOT EXISTS `userpicks` ( | |||
41 | PRIMARY KEY (`pickuuid`) | 47 | PRIMARY KEY (`pickuuid`) |
42 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | 48 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
43 | 49 | ||
50 | |||
44 | CREATE TABLE IF NOT EXISTS `userprofile` ( | 51 | CREATE TABLE IF NOT EXISTS `userprofile` ( |
45 | `useruuid` varchar(36) NOT NULL, | 52 | `useruuid` varchar(36) NOT NULL, |
46 | `profilePartner` varchar(36) NOT NULL, | 53 | `profilePartner` varchar(36) NOT NULL, |
@@ -59,6 +66,23 @@ CREATE TABLE IF NOT EXISTS `userprofile` ( | |||
59 | PRIMARY KEY (`useruuid`) | 66 | PRIMARY KEY (`useruuid`) |
60 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | 67 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
61 | 68 | ||
69 | commit; | ||
70 | |||
71 | :VERSION 2 # ------------------------------- | ||
72 | |||
73 | begin; | ||
74 | CREATE TABLE IF NOT EXISTS `userdata` ( | ||
75 | `UserId` char(36) NOT NULL, | ||
76 | `TagId` varchar(64) NOT NULL, | ||
77 | `DataKey` varchar(255), | ||
78 | `DataVal` varchar(255), | ||
79 | PRIMARY KEY (`UserId`,`TagId`) | ||
80 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | ||
81 | |||
82 | commit; | ||
83 | |||
84 | :VERSION 3 # ------------------------------- | ||
85 | begin; | ||
62 | CREATE TABLE IF NOT EXISTS `usersettings` ( | 86 | CREATE TABLE IF NOT EXISTS `usersettings` ( |
63 | `useruuid` varchar(36) NOT NULL, | 87 | `useruuid` varchar(36) NOT NULL, |
64 | `imviaemail` enum('true','false') NOT NULL, | 88 | `imviaemail` enum('true','false') NOT NULL, |
@@ -66,3 +90,9 @@ CREATE TABLE IF NOT EXISTS `usersettings` ( | |||
66 | `email` varchar(254) NOT NULL, | 90 | `email` varchar(254) NOT NULL, |
67 | PRIMARY KEY (`useruuid`) | 91 | PRIMARY KEY (`useruuid`) |
68 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; | 92 | ) ENGINE=MyISAM DEFAULT CHARSET=latin1; |
93 | commit; | ||
94 | |||
95 | :VERSION 4 # ------------------------------- | ||
96 | begin; | ||
97 | ALTER TABLE userpicks ADD COLUMN gatekeeper varchar(255); | ||
98 | commit; | ||