From 54c1659934dbdff2a515f56758ad9450d3fd3c23 Mon Sep 17 00:00:00 2001 From: Roger Kirkman Date: Sun, 14 Jun 2015 01:27:25 +0100 Subject: [PATCH] AgentPreferences SQLLite Migration update Mantis #7157 Signed-off-by: Diva Canto --- .../SQLite/Resources/AgentPrefs.migrations | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/OpenSim/Data/SQLite/Resources/AgentPrefs.migrations b/OpenSim/Data/SQLite/Resources/AgentPrefs.migrations index 3307f2d819..7e0525d8c1 100644 --- a/OpenSim/Data/SQLite/Resources/AgentPrefs.migrations +++ b/OpenSim/Data/SQLite/Resources/AgentPrefs.migrations @@ -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;