aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite
diff options
context:
space:
mode:
authorRoger Kirkman2015-06-14 01:27:25 +0100
committerDiva Canto2015-06-13 22:10:51 -0700
commit54c1659934dbdff2a515f56758ad9450d3fd3c23 (patch)
tree7d58311e032a84cd025e8c45d523066a6664ff13 /OpenSim/Data/SQLite
parentAdded more names of recent contributors that were missing from the list (diff)
downloadopensim-SC-54c1659934dbdff2a515f56758ad9450d3fd3c23.zip
opensim-SC-54c1659934dbdff2a515f56758ad9450d3fd3c23.tar.gz
opensim-SC-54c1659934dbdff2a515f56758ad9450d3fd3c23.tar.bz2
opensim-SC-54c1659934dbdff2a515f56758ad9450d3fd3c23.tar.xz
AgentPreferences SQLLite Migration update Mantis #7157
Signed-off-by: Diva Canto <diva@metaverseink.com>
Diffstat (limited to 'OpenSim/Data/SQLite')
-rw-r--r--OpenSim/Data/SQLite/Resources/AgentPrefs.migrations19
1 files changed, 19 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/Resources/AgentPrefs.migrations b/OpenSim/Data/SQLite/Resources/AgentPrefs.migrations
index 3307f2d..7e0525d 100644
--- a/OpenSim/Data/SQLite/Resources/AgentPrefs.migrations
+++ b/OpenSim/Data/SQLite/Resources/AgentPrefs.migrations
@@ -15,3 +15,22 @@ CREATE TABLE `AgentPrefs` (
15 PRIMARY KEY(`PrincipalID`)); 15 PRIMARY KEY(`PrincipalID`));
16 16
17COMMIT; 17COMMIT;
18
19:VERSION 2
20
21BEGIN;
22
23CREATE TABLE AgentPrefs(
24 PrincipalID CHAR(36) NOT NULL,
25 AccessPrefs CHAR(2) NOT NULL DEFAULT 'M',
26 HoverHeight DOUBLE(30, 27) NOT NULL DEFAULT 0,
27 Language CHAR(5) NOT NULL DEFAULT 'en-us',
28 LanguageIsPublic BOOLEAN NOT NULL DEFAULT 1,
29 PermEveryone INT(6) NOT NULL DEFAULT 0,
30 PermGroup INT(6) NOT NULL DEFAULT 0,
31 PermNextOwner INT(6) NOT NULL DEFAULT 532480,
32 UNIQUE(PrincipalID),
33 PRIMARY KEY(PrincipalID)
34);
35
36COMMIT;