From a092235df7847e01190553cc975c063f0202d416 Mon Sep 17 00:00:00 2001 From: Eric Price Date: Mon, 8 Oct 2007 02:38:38 -0400 Subject: [PATCH] Machine -> type relation svn path=/trunk/packages/sipb-xen-database/sipb-xen-database/; revision=137 --- sipb_xen_database/models.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sipb_xen_database/models.py b/sipb_xen_database/models.py index 2736bb4..4226598 100644 --- a/sipb_xen_database/models.py +++ b/sipb_xen_database/models.py @@ -82,7 +82,8 @@ class CDROM(object): assign_mapper(ctx, Machine, machine_table, \ properties={'nics': relation(NIC), - 'disks': relation(Disk)}); + 'disks': relation(Disk), + 'type': relation(Type)}); assign_mapper(ctx, NIC, nic_table) assign_mapper(ctx, Disk, disk_table) assign_mapper(ctx, Type, types_table) -- 1.7.9.5