Ignore:
Timestamp:
Oct 23, 2008, 11:04:03 PM (16 years ago)
Author:
price
Message:

yet another new-sqlalchemy fix, this one post-0.4.2; grr

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-database/python/database/models.py

    r1136 r1174  
    7575
    7676machine_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),
    7878       Column('user', String, nullable=False, index=True),
    79        PrimaryKeyConstraint('machine_id', 'user', ondelete='CASCADE'))
     79       PrimaryKeyConstraint('machine_id', 'user'))
    8080
    8181class Machine(object):
Note: See TracChangeset for help on using the changeset viewer.