- Timestamp:
- Nov 17, 2008, 9:58:30 PM (16 years ago)
- Location:
- trunk/packages/invirt-database
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-database/debian/changelog
r1708 r1714 1 invirt-database (0.1.0) unstable; urgency=low 2 3 * Turn on lazy loading for all tables 4 5 -- Evan Broder <broder@mit.edu> Mon, 17 Nov 2008 21:57:35 -0500 6 1 7 invirt-database (0.0.6) unstable; urgency=low 2 8 -
trunk/packages/invirt-database/python/database/models.py
r1708 r1714 121 121 122 122 session.mapper(Machine, machine_table, 123 properties={'nics': relation(NIC, backref="machine" , lazy=False),124 'disks': relation(Disk, backref="machine" , lazy=False),125 'type': relation(Type , lazy=False),126 'acl': relation(MachineAccess, backref="machine", lazy=False,passive_deletes=True, cascade="all, delete-orphan")});123 properties={'nics': relation(NIC, backref="machine"), 124 'disks': relation(Disk, backref="machine"), 125 'type': relation(Type), 126 'acl': relation(MachineAccess, backref="machine", passive_deletes=True, cascade="all, delete-orphan")}); 127 127 session.mapper(MachineAccess, machine_access_table) 128 128 session.mapper(NIC, nic_table)
Note: See TracChangeset
for help on using the changeset viewer.