Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
J
jumpserver
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
jumpserver
Commits
170b4942
Commit
170b4942
authored
Sep 06, 2016
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change date_added -> date_created
parent
07dd6d11
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
56 additions
and
60 deletions
+56
-60
models.py
apps/assets/models.py
+6
-6
asset_detail.html
apps/assets/templates/assets/asset_detail.html
+1
-1
models.py
apps/users/models.py
+2
-2
views.py
apps/users/views.py
+1
-1
table_design.xml
docs/table_design.xml
+46
-50
No files found.
apps/assets/models.py
View file @
170b4942
...
...
@@ -24,7 +24,7 @@ class IDC(models.Model):
phone
=
models
.
CharField
(
max_length
=
32
,
blank
=
True
,
verbose_name
=
_
(
'Phone'
))
address
=
models
.
CharField
(
max_length
=
128
,
blank
=
True
,
verbose_name
=
_
(
"Address"
))
network
=
models
.
TextField
(
blank
=
True
,
verbose_name
=
_
(
'Network'
))
date_
add
ed
=
models
.
DateField
(
auto_now
=
True
,
null
=
True
,
verbose_name
=
_
(
'Date added'
))
date_
creat
ed
=
models
.
DateField
(
auto_now
=
True
,
null
=
True
,
verbose_name
=
_
(
'Date added'
))
operator
=
models
.
CharField
(
max_length
=
32
,
blank
=
True
,
verbose_name
=
_
(
'Operator'
))
created_by
=
models
.
CharField
(
max_length
=
32
,
blank
=
True
,
verbose_name
=
_
(
'Created by'
))
comment
=
models
.
TextField
(
blank
=
True
,
verbose_name
=
_
(
'Comment'
))
...
...
@@ -40,7 +40,7 @@ class AssetExtend(models.Model):
key
=
models
.
CharField
(
max_length
=
64
,
null
=
True
,
blank
=
True
,
verbose_name
=
_
(
'KEY'
))
value
=
models
.
CharField
(
max_length
=
64
,
null
=
True
,
blank
=
True
,
verbose_name
=
_
(
'VALUE'
))
created_by
=
models
.
CharField
(
max_length
=
32
,
blank
=
True
,
verbose_name
=
_
(
"Created by"
))
date_
add
ed
=
models
.
DateTimeField
(
auto_now
=
True
,
null
=
True
,
blank
=
True
)
date_
creat
ed
=
models
.
DateTimeField
(
auto_now
=
True
,
null
=
True
,
blank
=
True
)
comment
=
models
.
TextField
(
blank
=
True
,
verbose_name
=
_
(
'Comment'
))
def
__unicode__
(
self
):
...
...
@@ -57,7 +57,7 @@ class AdminUser(models.Model):
private_key
=
models
.
CharField
(
max_length
=
4096
,
null
=
True
,
blank
=
True
,
verbose_name
=
_
(
'SSH private key'
))
is_default
=
models
.
BooleanField
(
default
=
True
,
verbose_name
=
_
(
'As default'
))
auto_update
=
models
.
BooleanField
(
default
=
True
,
verbose_name
=
_
(
'Auto update pass/key'
))
date_
add
ed
=
models
.
DateTimeField
(
auto_now
=
True
,
null
=
True
,
blank
=
True
)
date_
creat
ed
=
models
.
DateTimeField
(
auto_now
=
True
,
null
=
True
,
blank
=
True
)
create_by
=
models
.
CharField
(
max_length
=
32
,
null
=
True
,
blank
=
True
,
verbose_name
=
_
(
'Created by'
))
comment
=
models
.
TextField
(
blank
=
True
,
verbose_name
=
_
(
'Comment'
))
...
...
@@ -86,7 +86,7 @@ class SysUser(models.Model):
shell
=
models
.
CharField
(
max_length
=
64
,
blank
=
True
,
verbose_name
=
_
(
'Shell'
))
home
=
models
.
CharField
(
max_length
=
64
,
blank
=
True
,
verbose_name
=
_
(
'Home'
))
uid
=
models
.
IntegerField
(
blank
=
True
,
verbose_name
=
_
(
'Uid'
))
date_
add
ed
=
models
.
DateTimeField
(
auto_now
=
True
,
null
=
True
)
date_
creat
ed
=
models
.
DateTimeField
(
auto_now
=
True
,
null
=
True
)
create_by
=
models
.
CharField
(
max_length
=
32
,
blank
=
True
,
verbose_name
=
_
(
'Created by'
))
comment
=
models
.
CharField
(
max_length
=
128
,
blank
=
True
,
verbose_name
=
_
(
'Comment'
))
...
...
@@ -124,7 +124,7 @@ class Asset(models.Model):
sn
=
models
.
CharField
(
max_length
=
128
,
null
=
True
,
blank
=
True
,
unique
=
True
,
verbose_name
=
_
(
'Serial number'
))
created_by
=
models
.
CharField
(
max_length
=
32
,
null
=
True
,
blank
=
True
,
verbose_name
=
_
(
'Created by'
))
is_active
=
models
.
BooleanField
(
default
=
True
,
verbose_name
=
_
(
'Is active'
))
date_
add
ed
=
models
.
DateTimeField
(
auto_now
=
True
,
null
=
True
,
blank
=
True
,
verbose_name
=
_
(
'Date added'
))
date_
creat
ed
=
models
.
DateTimeField
(
auto_now
=
True
,
null
=
True
,
blank
=
True
,
verbose_name
=
_
(
'Date added'
))
comment
=
models
.
CharField
(
max_length
=
128
,
null
=
True
,
blank
=
True
,
verbose_name
=
_
(
'Comment'
))
def
__unicode__
(
self
):
...
...
@@ -143,7 +143,7 @@ class Label(models.Model):
value
=
models
.
CharField
(
max_length
=
64
,
null
=
True
,
blank
=
True
,
verbose_name
=
_
(
'VALUE'
))
asset
=
models
.
ForeignKey
(
Asset
,
null
=
True
,
blank
=
True
,
on_delete
=
models
.
SET_NULL
,
verbose_name
=
_
(
'Asset'
))
created_by
=
models
.
CharField
(
max_length
=
32
,
blank
=
True
,
verbose_name
=
_
(
"Created by"
))
date_
add
ed
=
models
.
DateTimeField
(
auto_now
=
True
,
null
=
True
)
date_
creat
ed
=
models
.
DateTimeField
(
auto_now
=
True
,
null
=
True
)
comment
=
models
.
CharField
(
max_length
=
128
,
blank
=
True
,
verbose_name
=
_
(
'Comment'
))
def
__unicode__
(
self
):
...
...
apps/assets/templates/assets/asset_detail.html
View file @
170b4942
...
...
@@ -151,7 +151,7 @@
</tr>
<tr>
<td
class=
"text-navy"
>
添加日期
</td>
<td>
{{ asset.date_
add
ed|date:"Y-m-d H:i:s" }}
</td>
<td>
{{ asset.date_
creat
ed|date:"Y-m-d H:i:s" }}
</td>
</tr>
<tr>
<td
class=
"text-navy"
>
备注
</td>
...
...
apps/users/models.py
View file @
170b4942
...
...
@@ -24,7 +24,7 @@ from django.core import signing
# verbose_name='permissions',
# blank=True,
# )
# date_
add
ed = models.DateTimeField(auto_now_add=True)
# date_
creat
ed = models.DateTimeField(auto_now_add=True)
# created_by = models.CharField(max_length=100)
# comment = models.CharField(max_length=80, blank=True)
#
...
...
@@ -59,7 +59,7 @@ from django.core import signing
class
UserGroup
(
models
.
Model
):
name
=
models
.
CharField
(
max_length
=
100
,
unique
=
True
,
verbose_name
=
_
(
'Name'
))
comment
=
models
.
TextField
(
blank
=
True
,
verbose_name
=
_
(
'Comment'
))
date_
add
ed
=
models
.
DateTimeField
(
auto_now_add
=
True
)
date_
creat
ed
=
models
.
DateTimeField
(
auto_now_add
=
True
)
created_by
=
models
.
CharField
(
max_length
=
100
)
def
__unicode__
(
self
):
...
...
apps/users/views.py
View file @
170b4942
...
...
@@ -169,7 +169,7 @@ class UserGroupListView(AdminUserRequiredMixin, ListView):
paginate_by
=
settings
.
CONFIG
.
DISPLAY_PER_PAGE
context_object_name
=
'user_group_list'
template_name
=
'users/user_group_list.html'
ordering
=
'-date_
add
ed'
ordering
=
'-date_
creat
ed'
def
get_queryset
(
self
):
self
.
queryset
=
super
(
UserGroupListView
,
self
)
.
get_queryset
()
...
...
docs/table_design.xml
View file @
170b4942
...
...
@@ -71,16 +71,12 @@
<row
name=
"is_active"
null=
"0"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
<default>
0
</default></row>
<row
name=
"enable_
2FA
"
null=
"1"
autoincrement=
"0"
>
<row
name=
"enable_
otp
"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
<default>
0
</default></row>
<row
name=
"secret_key_2FA"
null=
"1"
autoincrement=
"0"
>
<datatype>
CHAR
</datatype>
<default>
NULL
</default></row>
<row
name=
"role"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default><relation
table=
"role"
row=
"id"
/>
</row>
<default>
NULL
</default></row>
<row
name=
"created_by"
null=
"1"
autoincrement=
"0"
>
<datatype>
VARCHAR
</datatype>
<default>
NULL
</default></row>
...
...
@@ -106,7 +102,7 @@
<part>
id
</part>
</key>
</table>
<table
x=
"2
27"
y=
"430
"
name=
"role"
>
<table
x=
"2
05"
y=
"363
"
name=
"role"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
...
...
@@ -120,7 +116,7 @@
<part>
id
</part>
</key>
</table>
<table
x=
"399"
y=
"102"
name=
"usergroup"
>
<table
x=
"399"
y=
"102"
name=
"user
_
group"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
...
...
@@ -130,7 +126,7 @@
<row
name=
"comment"
null=
"1"
autoincrement=
"0"
>
<datatype>
VARCHAR
</datatype>
<default>
NULL
</default></row>
<row
name=
"date_
add
ed"
null=
"1"
autoincrement=
"0"
>
<row
name=
"date_
creat
ed"
null=
"1"
autoincrement=
"0"
>
<datatype>
DATETIME
</datatype>
<default>
NULL
</default></row>
<row
name=
"created_by"
null=
"1"
autoincrement=
"0"
>
...
...
@@ -140,13 +136,13 @@
<part>
id
</part>
</key>
</table>
<table
x=
"1
59"
y=
"181"
name=
"user_user
group"
>
<table
x=
"1
65"
y=
"151"
name=
"user_user_
group"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
<row
name=
"usergroup_id"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default><relation
table=
"usergroup"
row=
"id"
/>
<default>
NULL
</default><relation
table=
"user
_
group"
row=
"id"
/>
</row>
<row
name=
"user_id"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
...
...
@@ -156,7 +152,7 @@
<part>
id
</part>
</key>
</table>
<table
x=
"2
20"
y=
"587
"
name=
"permission"
>
<table
x=
"2
01"
y=
"486
"
name=
"permission"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
...
...
@@ -188,7 +184,7 @@
<part>
id
</part>
</key>
</table>
<table
x=
"
26"
y=
"426
"
name=
"role_permission"
>
<table
x=
"
3"
y=
"364
"
name=
"role_permission"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
...
...
@@ -231,7 +227,7 @@
<default>
NULL
</default></row>
<row
name=
"admin_user"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default><relation
table=
"adminuser"
row=
"id"
/>
<default>
NULL
</default><relation
table=
"admin
_
user"
row=
"id"
/>
</row>
<row
name=
"idc"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
...
...
@@ -242,7 +238,7 @@
<default>
NULL
</default></row>
<row
name=
"type"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default><relation
table=
"assetextend"
row=
"id"
/>
<default>
NULL
</default><relation
table=
"asset
_
extend"
row=
"id"
/>
</row>
<row
name=
"brand"
null=
"1"
autoincrement=
"0"
>
<datatype>
VARCHAR
</datatype>
...
...
@@ -264,7 +260,7 @@
<default>
NULL
</default></row>
<row
name=
"env"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default><relation
table=
"assetextend"
row=
"id"
/>
<default>
NULL
</default><relation
table=
"asset
_
extend"
row=
"id"
/>
</row>
<row
name=
"cpu"
null=
"1"
autoincrement=
"0"
>
<datatype>
VARCHAR
</datatype>
...
...
@@ -284,14 +280,14 @@
<row
name=
"created_by"
null=
"1"
autoincrement=
"0"
>
<datatype>
VARCHAR
</datatype>
<default>
NULL
</default></row>
<row
name=
"date_
add
ed"
null=
"1"
autoincrement=
"0"
>
<row
name=
"date_
creat
ed"
null=
"1"
autoincrement=
"0"
>
<datatype>
DATETIME
</datatype>
<default>
NULL
</default></row>
<key
type=
"PRIMARY"
name=
""
>
<part>
id
</part>
</key>
</table>
<table
x=
"1
278"
y=
"684"
name=
"asset
extend"
>
<table
x=
"1
301"
y=
"687"
name=
"asset_
extend"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
...
...
@@ -305,7 +301,7 @@
<part>
id
</part>
</key>
</table>
<table
x=
"12
74"
y=
"387
"
name=
"idc"
>
<table
x=
"12
94"
y=
"379
"
name=
"idc"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
...
...
@@ -336,14 +332,14 @@
<row
name=
"created_by"
null=
"1"
autoincrement=
"0"
>
<datatype>
VARCHAR
</datatype>
<default>
NULL
</default></row>
<row
name=
"date_
add
ed"
null=
"1"
autoincrement=
"0"
>
<row
name=
"date_
creat
ed"
null=
"1"
autoincrement=
"0"
>
<datatype>
DATETIME
</datatype>
<default>
NULL
</default></row>
<key
type=
"PRIMARY"
name=
""
>
<part>
id
</part>
</key>
</table>
<table
x=
"1269"
y=
"220"
name=
"assetlabel"
>
<table
x=
"1269"
y=
"220"
name=
"asset
_
label"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
...
...
@@ -361,7 +357,7 @@
<part>
id
</part>
</key>
</table>
<table
x=
"1080"
y=
"102"
name=
"assetgroup"
>
<table
x=
"1080"
y=
"102"
name=
"asset
_
group"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
...
...
@@ -374,20 +370,20 @@
<row
name=
"created_by"
null=
"1"
autoincrement=
"0"
>
<datatype>
VARCHAR
</datatype>
<default>
NULL
</default></row>
<row
name=
"date_
add
ed"
null=
"1"
autoincrement=
"0"
>
<row
name=
"date_
creat
ed"
null=
"1"
autoincrement=
"0"
>
<datatype>
DATETIME
</datatype>
<default>
NULL
</default></row>
<key
type=
"PRIMARY"
name=
""
>
<part>
id
</part>
</key>
</table>
<table
x=
"1261"
y=
"101"
name=
"asset_assetgroup"
>
<table
x=
"1261"
y=
"101"
name=
"asset_asset
_
group"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
<row
name=
"assetgroup_id"
null=
"1"
autoincrement=
"0"
>
<row
name=
"asset
_
group_id"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default><relation
table=
"assetgroup"
row=
"id"
/>
<default>
NULL
</default><relation
table=
"asset
_
group"
row=
"id"
/>
</row>
<row
name=
"asset_id"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
...
...
@@ -397,7 +393,7 @@
<part>
id
</part>
</key>
</table>
<table
x=
"12
72"
y=
"806"
name=
"admin
user"
>
<table
x=
"12
89"
y=
"806"
name=
"admin_
user"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
...
...
@@ -419,7 +415,7 @@
<row
name=
"auto_update"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
<row
name=
"date_
add
ed"
null=
"1"
autoincrement=
"0"
>
<row
name=
"date_
creat
ed"
null=
"1"
autoincrement=
"0"
>
<datatype>
DATETIME
</datatype>
<default>
NULL
</default></row>
<row
name=
"create_by"
null=
"1"
autoincrement=
"0"
>
...
...
@@ -432,7 +428,7 @@
<part>
id
</part>
</key>
</table>
<table
x=
"7
32"
y=
"571"
name=
"sys
user"
>
<table
x=
"7
20"
y=
"571"
name=
"system_
user"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
...
...
@@ -481,20 +477,20 @@
<row
name=
"created_by"
null=
"1"
autoincrement=
"0"
>
<datatype>
CHAR
</datatype>
<default>
NULL
</default></row>
<row
name=
"date_
add
ed"
null=
"1"
autoincrement=
"0"
>
<row
name=
"date_
creat
ed"
null=
"1"
autoincrement=
"0"
>
<datatype>
DATETIME
</datatype>
<default>
NULL
</default></row>
<key
type=
"PRIMARY"
name=
""
>
<part>
id
</part>
</key>
</table>
<table
x=
"873"
y=
"572"
name=
"asset_sysuser"
>
<table
x=
"873"
y=
"572"
name=
"asset_sys
tem_
user"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
<row
name=
"sysuser_id"
null=
"1"
autoincrement=
"0"
>
<row
name=
"sys
tem_
user_id"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default><relation
table=
"sysuser"
row=
"id"
/>
<default>
NULL
</default><relation
table=
"sys
tem_
user"
row=
"id"
/>
</row>
<row
name=
"asset_id"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
...
...
@@ -504,7 +500,7 @@
<part>
id
</part>
</key>
</table>
<table
x=
"87
0"
y=
"743"
name=
"task
history"
>
<table
x=
"87
8"
y=
"743"
name=
"task_
history"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
...
...
@@ -534,7 +530,7 @@
<part>
id
</part>
</key>
</table>
<table
x=
"10
81"
y=
"917
"
name=
"task"
>
<table
x=
"10
79"
y=
"918
"
name=
"task"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
...
...
@@ -567,20 +563,20 @@
<row
name=
"created_by"
null=
"1"
autoincrement=
"0"
>
<datatype>
VARCHAR
</datatype>
<default>
NULL
</default></row>
<row
name=
"date_
add
ed"
null=
"1"
autoincrement=
"0"
>
<row
name=
"date_
creat
ed"
null=
"1"
autoincrement=
"0"
>
<datatype>
TIME
</datatype>
<default>
NULL
</default></row>
<key
type=
"PRIMARY"
name=
""
>
<part>
id
</part>
</key>
</table>
<table
x=
"560"
y=
"184"
name=
"usergroup_perm"
>
<table
x=
"560"
y=
"184"
name=
"user
_
group_perm"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
<row
name=
"usergroup_id"
null=
"1"
autoincrement=
"0"
>
<row
name=
"user
_
group_id"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default><relation
table=
"usergroup"
row=
"id"
/>
<default>
NULL
</default><relation
table=
"user
_
group"
row=
"id"
/>
</row>
<row
name=
"perm_id"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
...
...
@@ -590,7 +586,7 @@
<part>
id
</part>
</key>
</table>
<table
x=
"56
6"
y=
"407
"
name=
"user_perm"
>
<table
x=
"56
0"
y=
"361
"
name=
"user_perm"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
...
...
@@ -606,13 +602,13 @@
<part>
id
</part>
</key>
</table>
<table
x=
"868"
y=
"184"
name=
"assetgroup_perm"
>
<table
x=
"868"
y=
"184"
name=
"asset
_
group_perm"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
<row
name=
"assetgroup_id"
null=
"1"
autoincrement=
"0"
>
<row
name=
"asset
_
group_id"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default><relation
table=
"assetgroup"
row=
"id"
/>
<default>
NULL
</default><relation
table=
"asset
_
group"
row=
"id"
/>
</row>
<row
name=
"perm_id"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
...
...
@@ -638,11 +634,11 @@
<part>
id
</part>
</key>
</table>
<table
x=
"300"
y=
"770"
name=
"loginlog"
>
<table
x=
"300"
y=
"770"
name=
"login
_
log"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
<row
name=
"user
_
name"
null=
"1"
autoincrement=
"0"
>
<row
name=
"username"
null=
"1"
autoincrement=
"0"
>
<datatype>
VARCHAR
</datatype>
<default>
NULL
</default></row>
<row
name=
"login_type"
null=
"1"
autoincrement=
"0"
>
...
...
@@ -667,7 +663,7 @@
<part>
id
</part>
</key>
</table>
<table
x=
"139"
y=
"772"
name=
"adminlog"
>
<table
x=
"139"
y=
"772"
name=
"admin
_
log"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
...
...
@@ -693,7 +689,7 @@
<part>
id
</part>
</key>
</table>
<table
x=
"4
60"
y=
"769"
name=
"proxy
log"
>
<table
x=
"4
35"
y=
"806"
name=
"proxy_
log"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
...
...
@@ -734,13 +730,13 @@
<part>
id
</part>
</key>
</table>
<table
x=
"5
75
"
y=
"575"
name=
"commandlog"
>
<table
x=
"5
67
"
y=
"575"
name=
"commandlog"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
<row
name=
"proxy_log"
null=
"1"
autoincrement=
"0"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default><relation
table=
"proxylog"
row=
"id"
/>
<default>
NULL
</default><relation
table=
"proxy
_
log"
row=
"id"
/>
</row>
<row
name=
"date_start"
null=
"1"
autoincrement=
"0"
>
<datatype>
DATE
</datatype>
...
...
@@ -752,7 +748,7 @@
<part>
id
</part>
</key>
</table>
<table
x=
"
600"
y=
"754
"
name=
"notice"
>
<table
x=
"
585"
y=
"786
"
name=
"notice"
>
<row
name=
"id"
null=
"1"
autoincrement=
"1"
>
<datatype>
INTEGER
</datatype>
<default>
NULL
</default></row>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment