Changeset 1174 for trunk


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

Location:
trunk/packages/sipb-xen-database
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-database/debian/changelog

    r1152 r1174  
     1sipb-xen-database (10.34) unstable; urgency=low
     2
     3  * yet another new-sqlalchemy fix, this one post-0.4.2
     4
     5 -- Greg Price <price@mit.edu>  Thu, 23 Oct 2008 23:02:46 -0400
     6
    17sipb-xen-database (10.33) unstable; urgency=low
    28
  • 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.