From f2e2c918561e553d7faedb99ae5ee416831af493 Mon Sep 17 00:00:00 2001 From: Bai Date: Mon, 25 Sep 2023 16:19:02 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E5=90=8C=E6=AD=A5=E5=90=8C=E6=97=B6=E5=8C=85?= =?UTF-8?q?=E5=90=ABpwd/ssh-key=E5=AF=BC=E8=87=B4=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E8=B4=A6=E5=8F=B7id=E5=86=B2=E7=AA=81=E6=8A=A5=E9=94=99?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/assets/migrations/0100_auto_20220711_1413.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/assets/migrations/0100_auto_20220711_1413.py b/apps/assets/migrations/0100_auto_20220711_1413.py index 4e57be633..8bb3309e4 100644 --- a/apps/assets/migrations/0100_auto_20220711_1413.py +++ b/apps/assets/migrations/0100_auto_20220711_1413.py @@ -25,7 +25,7 @@ def migrate_asset_accounts(apps, schema_editor): count += len(auth_books) # auth book 和 account 相同的属性 same_attrs = [ - 'id', 'username', 'comment', 'date_created', 'date_updated', + 'username', 'comment', 'date_created', 'date_updated', 'created_by', 'asset_id', 'org_id', ] # 认证的属性,可能是 auth_book 的,可能是 system_user 的