migrations: in migration 35 use foreignkey id instead of objects
This commit is contained in:
parent
cf615c7fac
commit
57e629d339
|
@ -20,7 +20,7 @@ class Migration(SchemaMigration):
|
|||
if what in seen:
|
||||
continue
|
||||
seen.add(what)
|
||||
yield orm.DeletedDocument(user=what[0], document=what[1])
|
||||
yield orm.DeletedDocument(user_id=what[0], document_id=what[1])
|
||||
batch = []
|
||||
for deleted_document in producer2():
|
||||
batch.append(deleted_document)
|
||||
|
|
Loading…
Reference in New Issue