>> CREATE TABLE locks (
>> table_name varchar,
>> locked_row_id int,
>> PRIMARY KEY (table_name, locked_row_id)
>> );
self.locks = Table('locks', self.metadata,
Column('table_name', Unicode(15), primary_key=True),
Column('locked_row_id', Integer, primary_key=True))
Thats it! Thanks!
--
Basil Shubin
Freelance Software Developer
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---