Re: [Sqlalchemy-users] Using server side functions for defaults

2006-06-06 Thread Randall Smith
OK, I figured out that I need to use PassiveDefault. Sorry about that. Randall Randall Smith wrote: > I've read the docs on this and thought I understood, but I can't get it > to work. I define a table like so: > > actions = Table('actions', metadata, > Column('id', INTEGER, primary_key=

[Sqlalchemy-users] Using server side functions for defaults

2006-06-06 Thread Randall Smith
I've read the docs on this and thought I understood, but I can't get it to work. I define a table like so: actions = Table('actions', metadata, Column('id', INTEGER, primary_key=True), Column('name', VARCHAR(100), nullable=False), Column('suser_name', VARCHAR(100), nullable=False)