Changeset 1174 for trunk/packages/sipb-xen-database/python
- Timestamp:
- Oct 23, 2008, 11:04:03 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-database/python/database/models.py
r1136 r1174 75 75 76 76 machine_access_table = Table('machine_access', meta, 77 Column('machine_id', Integer, ForeignKey('machines.machine_id' ), nullable=False, index=True),77 Column('machine_id', Integer, ForeignKey('machines.machine_id', ondelete='CASCADE'), nullable=False, index=True), 78 78 Column('user', String, nullable=False, index=True), 79 PrimaryKeyConstraint('machine_id', 'user' , ondelete='CASCADE'))79 PrimaryKeyConstraint('machine_id', 'user')) 80 80 81 81 class Machine(object):
Note: See TracChangeset
for help on using the changeset viewer.