]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/commit
- more tweaks for server defaults re: comparison, test results
authorMike Bayer <mike_mp@zzzcomputing.com>
Sat, 20 Sep 2014 18:30:00 +0000 (14:30 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sat, 20 Sep 2014 18:37:01 +0000 (14:37 -0400)
commit2b3965b9178fcfd2a61a6d6cf272b9b07367b897
tree245a8dcc4c24b6b0e39630e49c07ecc66a15ba44
parentcbbd550ea6aca338a6b7bef230bb66216922b66d
- more tweaks for server defaults re: comparison, test results
- in particular we've changed the server_default for order.amount
to text('0'); SQlite and Postgresql now both report the server
default as '0', whereas previously, when we were emitting '0'
with the quotes in the CREATE TABLE, SQlite reported it as
"'0'" and PG as '0::numeric'.
alembic/autogenerate/compare.py
alembic/autogenerate/render.py
alembic/ddl/sqlite.py
tests/test_autogen_render.py
tests/test_autogenerate.py