perf(application): 修改迁移文件,迁移应用包含id字段

pull/4886/head
Bai 2020-10-22 18:23:50 +08:00 committed by 老广
parent fdded8b90f
commit 5acff310f7
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ def common_to_application_json(old_app):
category = get_application_category(old_app)
date_updated = old_app.date_updated if hasattr(old_app, 'date_updated') else old_app.date_created
return {
'id': old_app.id,
'name': old_app.name,
'type': old_app.type,
'category': category,