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
209200dc
Commit
209200dc
authored
Dec 24, 2017
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 修改migrations
parent
d0ef1e71
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
0001_initial.py
apps/ops/migrations/0001_initial.py
+6
-1
0001_initial.py
apps/perms/migrations/0001_initial.py
+1
-1
0001_initial.py
apps/terminal/migrations/0001_initial.py
+1
-1
No files found.
apps/ops/migrations/0001_initial.py
View file @
209200dc
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-12-2
1 16:06
# Generated by Django 1.11 on 2017-12-2
4 15:21
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
...
...
@@ -57,7 +57,12 @@ class Migration(migrations.Migration):
fields
=
[
(
'id'
,
models
.
UUIDField
(
default
=
uuid
.
uuid4
,
primary_key
=
True
,
serialize
=
False
)),
(
'name'
,
models
.
CharField
(
max_length
=
128
,
unique
=
True
,
verbose_name
=
'Name'
)),
(
'interval'
,
models
.
IntegerField
(
blank
=
True
,
help_text
=
'Units: seconds'
,
null
=
True
,
verbose_name
=
'Interval'
)),
(
'crontab'
,
models
.
CharField
(
blank
=
True
,
help_text
=
'5 * * * *'
,
max_length
=
128
,
null
=
True
,
verbose_name
=
'Crontab'
)),
(
'is_periodic'
,
models
.
BooleanField
(
default
=
False
)),
(
'callback'
,
models
.
CharField
(
blank
=
True
,
max_length
=
128
,
null
=
True
,
verbose_name
=
'Callback'
)),
(
'is_deleted'
,
models
.
BooleanField
(
default
=
False
)),
(
'comment'
,
models
.
TextField
(
blank
=
True
,
verbose_name
=
'Comment'
)),
(
'created_by'
,
models
.
CharField
(
blank
=
True
,
default
=
''
,
max_length
=
128
,
null
=
True
)),
(
'date_created'
,
models
.
DateTimeField
(
auto_now_add
=
True
)),
],
...
...
apps/perms/migrations/0001_initial.py
View file @
209200dc
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-12-2
1 16:06
# Generated by Django 1.11 on 2017-12-2
4 15:21
from
__future__
import
unicode_literals
import
common.utils
...
...
apps/terminal/migrations/0001_initial.py
View file @
209200dc
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2017-12-2
1 16:06
# Generated by Django 1.11 on 2017-12-2
4 15:21
from
__future__
import
unicode_literals
from
django.db
import
migrations
,
models
...
...
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