Simon wrote:
Hi all,
I'm using SA 0.5.0rc3 and MySQL 5.0.51a on Mac OS X 10.4.11. I have a
table with a float column and would like to have a default value of 0:
Column('col', Float(), default=0.0)
However, executing metadata.create_all(engine) yields
CREATE TABLE `Table` (
...
With 0.4 it's a positional argument to Column: Column('col', Float(),
PassiveDefault('0.0'))
Simon wrote:
Thanks Jason! Is there any way of doing this in SA 0.4 as well?
On 10 Nov., 16:42, jason kirtland [EMAIL PROTECTED] wrote:
Simon wrote:
Hi all,
I'm using SA 0.5.0rc3 and MySQL