AgentPreferences SQLLite Migration update Mantis #7157

Signed-off-by: Diva Canto <diva@metaverseink.com>
fsassets
Roger Kirkman 2015-06-14 01:27:25 +01:00 committed by Diva Canto
parent b6a822132b
commit 54c1659934
1 changed files with 19 additions and 0 deletions

View File

@ -15,3 +15,22 @@ CREATE TABLE `AgentPrefs` (
PRIMARY KEY(`PrincipalID`));
COMMIT;
:VERSION 2
BEGIN;
CREATE TABLE AgentPrefs(
PrincipalID CHAR(36) NOT NULL,
AccessPrefs CHAR(2) NOT NULL DEFAULT 'M',
HoverHeight DOUBLE(30, 27) NOT NULL DEFAULT 0,
Language CHAR(5) NOT NULL DEFAULT 'en-us',
LanguageIsPublic BOOLEAN NOT NULL DEFAULT 1,
PermEveryone INT(6) NOT NULL DEFAULT 0,
PermGroup INT(6) NOT NULL DEFAULT 0,
PermNextOwner INT(6) NOT NULL DEFAULT 532480,
UNIQUE(PrincipalID),
PRIMARY KEY(PrincipalID)
);
COMMIT;