From 54c1659934dbdff2a515f56758ad9450d3fd3c23 Mon Sep 17 00:00:00 2001 From: Roger Kirkman Date: Sun, 14 Jun 2015 01:27:25 +0100 Subject: AgentPreferences SQLLite Migration update Mantis #7157 Signed-off-by: Diva Canto --- OpenSim/Data/SQLite/Resources/AgentPrefs.migrations | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'OpenSim') 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` ( 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; -- cgit v1.1