Browse Source

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

pull/4886/head
Bai 4 years ago committed by 老广
parent
commit
5acff310f7
  1. 1
      apps/applications/migrations/0006_application.py

1
apps/applications/migrations/0006_application.py

@ -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,

Loading…
Cancel
Save