Commits

Michael Trier committed eb36540

Corrects reflecttable in firebird database. Closes #1119.

Comments (0)

Files changed (1)

lib/sqlalchemy/databases/firebird.py

             # does it have a default value?
             if row['fdefault'] is not None:
                 # the value comes down as "DEFAULT 'value'"
-                assert row['fdefault'].startswith('DEFAULT ')
+                assert row['fdefault'].upper().startswith('DEFAULT '), row
                 defvalue = row['fdefault'][8:]
                 args.append(schema.DefaultClause(sql.text(defvalue)))