17 Commits

Author SHA1 Message Date
Mike Bayer
fe64667106 Don't use deprecated / non-functional "force" parameter
The "force" parameter in SQLAlchemy IdentifierPreparer.quote()
has been a no-op since 0.9 in
031ef08078,
which was six years ago.   In SQLAlchemy 1.3 this parameter
will be removed entirely.   Bump requirements to 0.9 series
here and remove usage of the "force" flag.

Change-Id: I4492df2e7d2075fefbf13d6782de11f7d402f6b8
2019-01-18 13:11:40 -05:00
Thomas Goirand
8d6ce64cd0 Use native quote attribute introduced in sqla 0.9
In SQLA 0.9 there is now a native .quote attribute on many objects.
Conditionally use this instead of the old method if the attribute
exists, to remove deprecation messages (and prepare for when the
other way will be fully removed).

Change-Id: I3c5fada13e044c1c4102acc0455226ce1524f2e2
2014-03-05 08:20:49 -05:00
Jan Dittberner
3619347441 drop SQLAlchemy < 0.6 compatibility code 2011-10-28 10:59:10 +02:00
iElectric
653e723ce1 move all exception classes to migrate.exceptions 2010-09-07 02:25:29 +02:00
iElectric
ece9ffed35 fix MySQL failing tests with autoincrement 2010-05-02 20:31:50 +02:00
emil.kroymann
7912af18ed apply Emil Kroymann's patch for Issue 75 2010-01-07 20:10:47 +01:00
iElectric
de3c53989d add support for SA 0.6 by Michael Bayer 2009-06-29 10:18:03 +00:00
iElectric
9f7ab96881 - completely refactored ColumnDelta to extract differences between columns/parameters (also fixes issue #23)
- fixed some bugs (passing server_default) on column.alter
- updated tests, specially ColumnDelta and column.alter
- introduced alter_metadata which can preserve altering existing objects if False (defaults to True)
- updated documentation
2009-06-27 14:13:27 +00:00
iElectric
cde0f9b52d updated changeset tests. whole package is finally PEP8. fixed mysql tests&bugs. updated docs where apropriate. changeset test coverage almost at 100% 2009-06-20 22:33:03 +00:00
iElectric
7eafe744c2 - refactor migrate.changeset;
- visitors are refactored to be more unified
- constraint module is refactored, CheckConstraint is added
- documentation is partialy updated, dialect support table is added (unfinished)
- test_constraint was updated
NOTE: oracle and mysql were not tested, *may be broken*
2009-06-16 15:17:33 +00:00
iElectric
cc82a1ad12 update docs, delete obsolete code in constraints 2009-06-12 22:43:02 +00:00
iElectric
8a8b1d2366 use sqlalchemy preparer to do SQL quote formatting. this is a raw change, tests are yet to be written 2009-06-11 22:27:38 +00:00
jan.dittberner
eb00570991 make migrate.changeset.databases PEP-8 clean and add it to the API docs 2009-01-25 12:52:33 +00:00
percious17
9f0bd657f4 most of the tests are now working with nose. 2008-12-02 05:11:36 +00:00
christian.simms
f687cd3fe0 add support for SA 0.5 2008-08-28 01:17:44 +00:00
jan.dittberner
32aeb8e95e integrated patch by Christian Simms posted at http://groups.google.com/group/migrate-users/browse_thread/thread/952a2185baf70c4d
fix all test cases for sqlalchemy>=0.4 and still works with sqlalchemy>=0.3.10
fixes #9
2008-02-14 19:10:47 +00:00
jan.dittberner
2cfe1fc31c moved trunk, branches and tags to project root
fixes Issue #5
2008-02-06 18:39:07 +00:00