pull/105/head
Apex Liu 2018-03-08 18:19:25 +08:00
parent 88945c0ea6
commit 6d95dcabe2
1 changed files with 2 additions and 2 deletions

View File

@ -191,7 +191,7 @@ class DatabaseInit:
# id: 自增主键
f.append('`id` integer PRIMARY KEY {}'.format(self.db.auto_increment))
# type 1=用户组2=主机组3=账号组
# type 2=用户组4=远程账号组6=资产组(主机)
f.append('`type` int(11) DEFAULT 1')
# name: 组名称
f.append('`name` varchar(128) DEFAULT ""')
@ -219,7 +219,7 @@ class DatabaseInit:
# id: 自增主键
f.append('`id` integer PRIMARY KEY {}'.format(self.db.auto_increment))
# type 1=用户组2=资产组主机3=远程账号组
# type 2=用户组4=远程账号组6=资产组(主机)
f.append('`type` int(11) DEFAULT 0')
# gid: 组的ID
f.append('`gid` int(11) DEFAULT 0')