Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
gjl2004yn
jumpserver
提交
b3e20b8b
J
jumpserver
项目概览
gjl2004yn
/
jumpserver
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
J
jumpserver
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
b3e20b8b
编写于
9月 16, 2019
作者:
B
BaiJiangJie
提交者:
GitHub
9月 16, 2019
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #3225 from jumpserver/dev_migrations
[Update] 修改perms迁移文件之间的依赖关系,添加迁移文件
上级
a2376d3a
354c3c56
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
34 addition
and
5 deletion
+34
-5
apps/applications/migrations/0002_remove_remoteapp_system_user.py
...lications/migrations/0002_remove_remoteapp_system_user.py
+1
-1
apps/orgs/migrations/0003_auto_20190916_1057.py
apps/orgs/migrations/0003_auto_20190916_1057.py
+30
-0
apps/perms/migrations/0009_remoteapppermission_system_users.py
...perms/migrations/0009_remoteapppermission_system_users.py
+3
-4
未找到文件。
apps/applications/migrations/0002_remove_remoteapp_system_user.py
浏览文件 @
b3e20b8b
...
...
@@ -7,7 +7,7 @@ class Migration(migrations.Migration):
dependencies
=
[
(
'applications'
,
'0001_initial'
),
(
'perms'
,
'000
8
_remoteapppermission_system_users'
),
(
'perms'
,
'000
9
_remoteapppermission_system_users'
),
]
operations
=
[
...
...
apps/orgs/migrations/0003_auto_20190916_1057.py
0 → 100644
浏览文件 @
b3e20b8b
# Generated by Django 2.1.7 on 2019-09-16 02:57
from
django.conf
import
settings
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
migrations
.
swappable_dependency
(
settings
.
AUTH_USER_MODEL
),
(
'orgs'
,
'0002_auto_20180903_1132'
),
]
operations
=
[
migrations
.
AddField
(
model_name
=
'organization'
,
name
=
'auditors'
,
field
=
models
.
ManyToManyField
(
blank
=
True
,
related_name
=
'related_audit_orgs'
,
to
=
settings
.
AUTH_USER_MODEL
),
),
migrations
.
AlterField
(
model_name
=
'organization'
,
name
=
'admins'
,
field
=
models
.
ManyToManyField
(
blank
=
True
,
related_name
=
'related_admin_orgs'
,
to
=
settings
.
AUTH_USER_MODEL
),
),
migrations
.
AlterField
(
model_name
=
'organization'
,
name
=
'users'
,
field
=
models
.
ManyToManyField
(
blank
=
True
,
related_name
=
'related_user_orgs'
,
to
=
settings
.
AUTH_USER_MODEL
),
),
]
apps/perms/migrations/000
8
_remoteapppermission_system_users.py
→
apps/perms/migrations/000
9
_remoteapppermission_system_users.py
浏览文件 @
b3e20b8b
# Generated by Django 2.1.7 on 2019-09-
09 09:09
# Generated by Django 2.1.7 on 2019-09-
16 02:57
from
django.db
import
migrations
,
models
from
assets.models
import
SystemUser
def
migrate_system_user_from_remote_app_to_remote_app_perms
(
apps
,
schema_editor
):
...
...
@@ -16,8 +15,8 @@ def migrate_system_user_from_remote_app_to_remote_app_perms(apps, schema_editor)
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'assets'
,
'003
7_auto_20190724_2002
'
),
(
'perms'
,
'000
7_remove_assetpermission_actions
'
),
(
'assets'
,
'003
8_auto_20190911_1634
'
),
(
'perms'
,
'000
8_auto_20190911_1907
'
),
]
operations
=
[
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录