> Am 31.05.2019 um 13:15 schrieb Axel Rau :
>
> is it posible to bundle 2 AddField migrations with one RunPython?
> How should I arrange the state_operations in this case?
>
> The following migration does not work.
It seems, the variant below does the job.
However there is no state operation
Hi all,
is it posible to bundle 2 AddField migrations with one RunPython?
How should I arrange the state_operations in this case?
The following migration does not work.
Please advice,
Axel
def forwards_func(apps, schema_editor):
with connections['erdb_migration'].cursor() as cursor:
2 matches
Mail list logo