Hi all, In the HEAD version, the table creation does not set the default values on the columns (tested on mysql and mssql) It seems that the function SchemaGenerator.get_column_default_string (in compiler.py) always returns None, even if a default value is specified.
801 def get_column_default_string(self, column): 802 if isinstance(column.default, schema.PassiveDefault): 803 if isinstance(column.default.arg, basestring): 804 return "'%s'" % column.default.arg 805 else: 806 return unicode(self._compile(column.default.arg, None)) 807 else: 808 return None On line 803, the test is always false because column.default is always a ColumnDefault. I'm not sure how this should be fixed, any help is very welcome. Regards, Christophe --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To post to this group, send email to sqlalchemy@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---