aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/PGSQL/Resources/AgentPrefs.migrations
diff options
context:
space:
mode:
authorGeir Nøklebye2017-05-08 21:11:33 +0200
committerUbitUmarov2017-05-08 20:25:03 +0100
commitd952d62baaee5817d080cffd1fd46767992f0397 (patch)
tree19a9f8727bfb0c237eceb81625aae4925ee728ee /OpenSim/Data/PGSQL/Resources/AgentPrefs.migrations
parentsome conditional dispose on http requests inputstream (diff)
downloadopensim-SC_OLD-d952d62baaee5817d080cffd1fd46767992f0397.zip
opensim-SC_OLD-d952d62baaee5817d080cffd1fd46767992f0397.tar.gz
opensim-SC_OLD-d952d62baaee5817d080cffd1fd46767992f0397.tar.bz2
opensim-SC_OLD-d952d62baaee5817d080cffd1fd46767992f0397.tar.xz
PGSQL: Add missing AgentPrefs.migrations
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/PGSQL/Resources/AgentPrefs.migrations19
1 files changed, 19 insertions, 0 deletions
diff --git a/OpenSim/Data/PGSQL/Resources/AgentPrefs.migrations b/OpenSim/Data/PGSQL/Resources/AgentPrefs.migrations
new file mode 100644
index 0000000..ca3cca2
--- /dev/null
+++ b/OpenSim/Data/PGSQL/Resources/AgentPrefs.migrations
@@ -0,0 +1,19 @@
1:VERSION 1
2
3BEGIN TRANSACTION;
4
5CREATE TABLE IF NOT EXISTS "public"."agentprefs" (
6 "PrincipalID" uuid NOT NULL,
7 "AccessPrefs" char(2) NOT NULL DEFAULT 'M'::bpchar COLLATE "default",
8 "HoverHeight" float8 NOT NULL DEFAULT 0,
9 "Language" char(5) NOT NULL DEFAULT 'en-us'::bpchar COLLATE "default",
10 "LanguageIsPublic" bool NOT NULL DEFAULT true,
11 "PermEveryone" int4 NOT NULL DEFAULT 0,
12 "PermGroup" int4 NOT NULL DEFAULT 0,
13 "PermNextOwner" int4 NOT NULL DEFAULT 532480
14)
15WITH (OIDS=FALSE);
16
17ALTER TABLE "public"."agentprefs" ADD PRIMARY KEY ("PrincipalID") NOT DEFERRABLE INITIALLY IMMEDIATE;
18
19COMMIT;