diff options
Diffstat (limited to 'OpenSim/Data/PGSQL/Resources/AgentPrefs.migrations')
-rw-r--r-- | OpenSim/Data/PGSQL/Resources/AgentPrefs.migrations | 27 |
1 files changed, 14 insertions, 13 deletions
diff --git a/OpenSim/Data/PGSQL/Resources/AgentPrefs.migrations b/OpenSim/Data/PGSQL/Resources/AgentPrefs.migrations index 2615ca2..6154719 100644 --- a/OpenSim/Data/PGSQL/Resources/AgentPrefs.migrations +++ b/OpenSim/Data/PGSQL/Resources/AgentPrefs.migrations | |||
@@ -1,17 +1,18 @@ | |||
1 | :VERSION 1 | 1 | :VERSION 2 |
2 | 2 | ||
3 | BEGIN; | 3 | BEGIN TRANSACTION; |
4 | 4 | ||
5 | CREATE TABLE `AgentPrefs` ( | 5 | DROP TABLE IF EXISTS "AgentPrefs"; |
6 | `PrincipalID` CHAR(36) NOT NULL, | 6 | CREATE TABLE "AgentPrefs" ( |
7 | `AccessPrefs` CHAR(2) NOT NULL DEFAULT 'M', | 7 | "PrincipalID" uuid NOT NULL, |
8 | `HoverHeight` DOUBLE(30, 27) NOT NULL DEFAULT 0, | 8 | "AccessPrefs" CHAR(2) NOT NULL DEFAULT 'M', |
9 | `Language` CHAR(5) NOT NULL DEFAULT 'en-us', | 9 | "HoverHeight" DOUBLE PRECISION NOT NULL DEFAULT 0, |
10 | `LanguageIsPublic` BOOLEAN NOT NULL DEFAULT 1, | 10 | "Language" CHAR(5) NOT NULL DEFAULT 'en-us', |
11 | `PermEveryone` INT(6) NOT NULL DEFAULT 0, | 11 | "LanguageIsPublic" BOOLEAN NOT NULL DEFAULT true, |
12 | `PermGroup` INT(6) NOT NULL DEFAULT 0, | 12 | "PermEveryone" INT4 NOT NULL DEFAULT 0, |
13 | `PermNextOwner` INT(6) NOT NULL DEFAULT 532480, | 13 | "PermGroup" INT4 NOT NULL DEFAULT 0, |
14 | UNIQUE KEY `PrincipalID` (`PrincipalID`), | 14 | "PermNextOwner" INT4 NOT NULL DEFAULT 532480 |
15 | PRIMARY KEY(`PrincipalID`)); | 15 | ); |
16 | ALTER TABLE "AgentPrefs" ADD PRIMARY KEY("PrincipalID"); | ||
16 | 17 | ||
17 | COMMIT; \ No newline at end of file | 18 | COMMIT; \ No newline at end of file |