[Maas-devel] HALP Migrations backporting
Julian Edwards
julian.edwards at canonical.com
Fri Aug 15 04:51:57 UTC 2014
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.
More information about the Maas-devel
mailing list