mirror of
https://github.com/opensim/opensim.git
synced 2026-08-04 16:22:50 +08:00
PGSQL: Add missing AgentPrefs.migrations
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
This commit is contained in:
committed by
UbitUmarov
parent
604b966d84
commit
d952d62baa
19
OpenSim/Data/PGSQL/Resources/AgentPrefs.migrations
Normal file
19
OpenSim/Data/PGSQL/Resources/AgentPrefs.migrations
Normal file
@@ -0,0 +1,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;
|
||||
Reference in New Issue
Block a user