Adding TextClause support to server_default
moving textclause logic into _render_server_default
adding mike's patch
Rendering expressions for indexes
- Added support for functional indexes when using the
:meth:`.Operations.create_index` directive.   Within the list of columns,
the SQLAlchemy ``text()`` construct can be sent, embedding a literal
SQL expression; the :meth:`.Operations.create_index` will perform some hackery
behind the scenes to get the :class:`.Index` construct to cooperate.
This works around some current limitations in :class:`.Index`
which should be resolved on the SQLAlchemy side at some point.
fixes #222
replacing eval in multidb template with globals() function lookup
applied mikes patch
- py3k fix
Merge remote-tracking branch 'github/pr/16' into pr16
- check SQLA version for drop w/ enums in PG
- restore _render_server_default_for_compare() to compare.py using
the method previously used in _render_server_default() in render;
these two functions become more specific to compare vs. render now
so are separated out
pep8
- 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'.
- move tests erroneously local to the "named" tests
- add tests for CAST within index
- get tests passing for 0.8, 0.7
- changelog for #197, fixes #197.