maas-devel team mailing list archive
-
maas-devel team
-
Mailing list archive
-
Message #01885
Re: HALP Migrations backporting
On 15/08/14 10:30, Gavin Panella wrote:
> Do you really need all of those? The only change the migration makes is:
>
> interfaces = orm['maasserver.NodeGroupInterface'].objects.all()
> for interface in interfaces:
> create_Network_from_NodeGroupInterface(interface)
>
> Try creating a new data migration then plonking this code in, and see
> what happens.
I just thought as well — if a migration exists in 1.6 only, when
upgrading to trunk, which won't have it, I'm pretty sure South complains
loudly about it missing from disk.
References