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
f6def0b4
Commit
f6def0b4
authored
Nov 23, 2018
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 修改表结构
parent
9cfcadc2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
48 additions
and
0 deletions
+48
-0
0013_auto_20181123_1113.py
apps/terminal/migrations/0013_auto_20181123_1113.py
+18
-0
0017_auto_20181123_1113.py
apps/users/migrations/0017_auto_20181123_1113.py
+30
-0
No files found.
apps/terminal/migrations/0013_auto_20181123_1113.py
0 → 100644
View file @
f6def0b4
# Generated by Django 2.1.1 on 2018-11-23 03:13
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'terminal'
,
'0012_auto_20180816_1652'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'terminal'
,
name
=
'remote_addr'
,
field
=
models
.
CharField
(
blank
=
True
,
max_length
=
128
,
verbose_name
=
'Remote Address'
),
),
]
apps/users/migrations/0017_auto_20181123_1113.py
0 → 100644
View file @
f6def0b4
# Generated by Django 2.1.1 on 2018-11-23 03:13
from
django.conf
import
settings
from
django.db
import
migrations
,
models
import
django.db.models.deletion
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'users'
,
'0016_auto_20181109_1505'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'user'
,
name
=
'date_password_last_updated'
,
field
=
models
.
DateTimeField
(
auto_now_add
=
True
,
null
=
True
,
verbose_name
=
'Date password last updated'
),
),
migrations
.
AlterField
(
model_name
=
'accesskey'
,
name
=
'user'
,
field
=
models
.
ForeignKey
(
on_delete
=
django
.
db
.
models
.
deletion
.
CASCADE
,
related_name
=
'access_keys'
,
to
=
settings
.
AUTH_USER_MODEL
,
verbose_name
=
'User'
),
),
migrations
.
AlterField
(
model_name
=
'loginlog'
,
name
=
'reason'
,
field
=
models
.
SmallIntegerField
(
choices
=
[(
0
,
'-'
),
(
1
,
'Username/password check failed'
),
(
2
,
'MFA authentication failed'
),
(
3
,
'Username does not exist'
),
(
4
,
'Password expired'
)],
default
=
0
,
verbose_name
=
'Reason'
),
),
]
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