Changeset 168 for trunk/packages
- Timestamp:
- Oct 10, 2007, 12:05:03 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-database/sipb-xen-database/sipb_xen_database/models.py
r137 r168 27 27 Column('contact', String, nullable=False), 28 28 Column('uuid', String, nullable=False), 29 Column(' boot_off_cd', Boolean, nullable=False, default=False),29 Column('administrator', String, nullable=False, default=False), 30 30 Column('type_id', String, ForeignKey('types.type_id'), nullable=False), 31 31 Column('autorestart', Boolean, nullable=False, default=False), … … 81 81 self.description = description 82 82 83 assign_mapper(ctx, Machine, machine_table, \84 properties={'nics': relation(NIC ),85 'disks': relation(Disk ),83 assign_mapper(ctx, Machine, machine_table, 84 properties={'nics': relation(NIC, backref="machine"), 85 'disks': relation(Disk, backref="machine"), 86 86 'type': relation(Type)}); 87 87 assign_mapper(ctx, NIC, nic_table)
Note: See TracChangeset
for help on using the changeset viewer.