CREATE
TABLE
[
groupaccounts
]
(
"id"
integer
PRIMARY
KEY
AUTOINCREMENT
NOT
NULL
,
"
Index
"
integer
DEFAULT
0
,
"Name"
nvarchar
(
50
) COLLATE NOCASE
DEFAULT
''
,
"Notes"
nvarchar
(
255
) COLLATE NOCASE
DEFAULT
''
);
CREATE
TABLE
[
groupdiraccess
]
(
"id"
integer
PRIMARY
KEY
AUTOINCREMENT
NOT
NULL
,
"Access"
nvarchar
(
255
) COLLATE NOCASE
DEFAULT
''
,
"
Index
"
integer
DEFAULT
0
,
"Name"
nvarchar
(
50
) COLLATE NOCASE
DEFAULT
''
);
CREATE
TABLE
[
groupipaccess
]
(
"id"
integer
PRIMARY
KEY
AUTOINCREMENT
NOT
NULL
,
"Access"
nvarchar
(
255
) COLLATE NOCASE
DEFAULT
''
,
"
Index
"
integer
DEFAULT
0
,
"Name"
nvarchar
(
50
) COLLATE NOCASE
DEFAULT
''
);
CREATE
TABLE
[
useraccounts
]
(
"id"
integer
PRIMARY
KEY
AUTOINCREMENT
NOT
NULL
,
"Access"
nvarchar
(
255
) COLLATE NOCASE
DEFAULT
''
,
"AlwaysLogin"
integer
DEFAULT
0
,
"ChangePass"
integer
DEFAULT
0
,
"Disable"
integer
DEFAULT
0
,
"Expirationtype"
integer
DEFAULT
0
,
"Expiration"
datetime
DEFAULT
'
1980-1-1
'
,
"Groups"
nvarchar
(
50
) COLLATE NOCASE
DEFAULT
''
,
"HideHidden"
integer
DEFAULT
0
,
"HomeDir"
nvarchar
(
100
) COLLATE NOCASE
DEFAULT
''
,
"idleTimeOut"
integer
DEFAULT
0
,
"LogMesfile"
nvarchar
(
100
) COLLATE NOCASE
DEFAULT
''
,
"MaxIp"
integer
DEFAULT
-
1
,
"MaxSpeedDown" numeric
DEFAULT
0
,
"MaxSpeedUp" numeric
DEFAULT
0
,
"MaxUsers"
integer
DEFAULT
-
1
,
"Name"
nvarchar
(
50
) COLLATE NOCASE
DEFAULT
''
,
"Needsecure"
integer
DEFAULT
0
,
"Notes"
nvarchar
(
255
) COLLATE NOCASE
DEFAULT
''
,
"PassType"
integer
DEFAULT
0
,
"Password"
nvarchar
(
50
) COLLATE NOCASE
DEFAULT
''
,
"Privilege"
integer
DEFAULT
0
,
"QuotaCurrent" numeric
DEFAULT
0
,
"QuotaEnable"
integer
DEFAULT
0
,
"QuotaMax" numeric
DEFAULT
0
,
"RatioCredit" numeric
DEFAULT
0
,
"RatioDown"
integer
DEFAULT
0
,
"RatioType"
integer
DEFAULT
0
,
"RatioUP"
integer
DEFAULT
0
,
"RelPaths"
integer
DEFAULT
0
,
"SessionTimeOut"
integer
DEFAULT
0
,
"SkeyValues"
nvarchar
(
50
) COLLATE NOCASE
DEFAULT
''
);
CREATE
TABLE
[
userdiraccess
]
(
"id"
integer
PRIMARY
KEY
AUTOINCREMENT
NOT
NULL
,
"Access"
nvarchar
(
255
) COLLATE NOCASE
DEFAULT
''
,
"
Index
"
integer
DEFAULT
0
,
"Name"
nvarchar
(
50
) COLLATE NOCASE
DEFAULT
''
);
CREATE
TABLE
[
useripaccess
]
(
"id"
integer
PRIMARY
KEY
AUTOINCREMENT
NOT
NULL
,
"Access"
nvarchar
(
255
) COLLATE NOCASE
DEFAULT
''
,
"
Index
"
integer
DEFAULT
0
,
"Name"
nvarchar
(
50
) COLLATE NOCASE
DEFAULT
''
);
CREATE
INDEX
[
groupaccounts_Name
]
ON
[
groupaccounts
]
(
[
Name
]
);
CREATE
INDEX
[
groupdiraccess_Name
]
ON
[
groupdiraccess
]
(
[
Name
]
);
CREATE
INDEX
[
groupipaccess_Name
]
ON
[
groupipaccess
]
(
[
Name
]
);
CREATE
INDEX
[
useraccounts_Name
]
ON
[
useraccounts
]
(
[
Name
]
);
CREATE
INDEX
[
userdiraccess_Name
]
ON
[
userdiraccess
]
(
[
Name
]
);
CREATE
INDEX
[
useripaccess_Name
]
ON
[
useripaccess
]
(
[
Name
]
);