aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/PGSQL/Resources/AgentPrefs.migrations
blob: ca3cca21f6a7370393796982225225e8254abd21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
:VERSION 1

BEGIN TRANSACTION;

CREATE TABLE IF NOT EXISTS "public"."agentprefs" (
	"PrincipalID" uuid NOT NULL,
	"AccessPrefs" char(2) NOT NULL DEFAULT 'M'::bpchar COLLATE "default",
	"HoverHeight" float8 NOT NULL DEFAULT 0,
	"Language" char(5) NOT NULL DEFAULT 'en-us'::bpchar COLLATE "default",
	"LanguageIsPublic" bool NOT NULL DEFAULT true,
	"PermEveryone" int4 NOT NULL DEFAULT 0,
	"PermGroup" int4 NOT NULL DEFAULT 0,
	"PermNextOwner" int4 NOT NULL DEFAULT 532480
)
WITH (OIDS=FALSE);

ALTER TABLE "public"."agentprefs" ADD PRIMARY KEY ("PrincipalID") NOT DEFERRABLE INITIALLY IMMEDIATE;

COMMIT;