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
bc5a2401
Unverified
Commit
bc5a2401
authored
Dec 10, 2019
by
BaiJiangJie
Committed by
GitHub
Dec 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 更新迁移文件(ReplayStorage Type,RemoteApp Type) (#3524)
parent
b4498f22
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
1 deletion
+19
-1
0003_auto_20191210_1659.py
apps/applications/migrations/0003_auto_20191210_1659.py
+18
-0
0016_commandstorage_replaystorage.py
.../terminal/migrations/0016_commandstorage_replaystorage.py
+1
-1
No files found.
apps/applications/migrations/0003_auto_20191210_1659.py
0 → 100644
View file @
bc5a2401
# Generated by Django 2.1.11 on 2019-12-10 08:59
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'applications'
,
'0002_remove_remoteapp_system_user'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'remoteapp'
,
name
=
'type'
,
field
=
models
.
CharField
(
choices
=
[(
'chrome'
,
'Chrome'
),
(
'mysql_workbench'
,
'MySQL Workbench'
),
(
'vmware_client'
,
'vSphere Client'
),
(
'custom'
,
'Custom'
)],
default
=
'chrome'
,
max_length
=
128
,
verbose_name
=
'App type'
),
),
]
apps/terminal/migrations/0016_commandstorage_replaystorage.py
View file @
bc5a2401
...
...
@@ -36,7 +36,7 @@ class Migration(migrations.Migration):
(
'date_created'
,
models
.
DateTimeField
(
auto_now_add
=
True
,
null
=
True
,
verbose_name
=
'Date created'
)),
(
'date_updated'
,
models
.
DateTimeField
(
auto_now
=
True
,
verbose_name
=
'Date updated'
)),
(
'name'
,
models
.
CharField
(
max_length
=
32
,
unique
=
True
,
verbose_name
=
'Name'
)),
(
'type'
,
models
.
CharField
(
choices
=
[(
'null'
,
'Null'
),
(
'server'
,
'Server'
),
(
's3'
,
'S3'
),
(
'oss'
,
'OSS'
),
(
'azure'
,
'Azure'
)],
default
=
'server'
,
max_length
=
16
,
verbose_name
=
'Type'
)),
(
'type'
,
models
.
CharField
(
choices
=
[(
'null'
,
'Null'
),
(
'server'
,
'Server'
),
(
's3'
,
'S3'
),
(
'
ceph'
,
'Ceph'
),
(
'swift'
,
'Swift'
),
(
'
oss'
,
'OSS'
),
(
'azure'
,
'Azure'
)],
default
=
'server'
,
max_length
=
16
,
verbose_name
=
'Type'
)),
(
'meta'
,
common
.
fields
.
model
.
EncryptJsonDictTextField
(
default
=
{})),
(
'comment'
,
models
.
TextField
(
blank
=
True
,
default
=
''
,
max_length
=
128
,
verbose_name
=
'Comment'
)),
],
...
...
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