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

BEGIN;

CREATE TABLE IF NOT EXISTS `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 KEY `PrincipalID` (`PrincipalID`),
    PRIMARY KEY(`PrincipalID`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

COMMIT;