Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Port to Python3 | Cyril Roelandt | 2014-04-09 | 1 | -3/+4 |
| | | | | | | | | | | | | | | | | | | Brief summary of the modifications: * Use six for compatibility with both Python 2 and 3; * Replace UserDict.DictMixin with collections.MutableMapping; * Fix relative imports; * Use test-requirements.txt for requirements that are common to both Python 2 and 3, and test-requirements-py{2,3}.txt for version-specific requirements; * Miscellaneous fixes. * Use a specific test_db_py3.cfg file for Python 3, that only runs tests on sqlite. Thanks to Victor Stinner who co-wrote this patch. Change-Id: Ia6dc536c39d274924c21fd5bb619e8e5721e04c4 Co-Authored-By: Victor Stinner <victor.stinner@enovance.com> | ||||
* | Use native quote attribute introduced in sqla 0.9 | Thomas Goirand | 2014-03-05 | 1 | -6/+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 | ||||
* | UniqueConstraint named and escaped twice | Thomas Goirand | 2014-03-02 | 1 | -1/+1 |
| | | | | | | | | This patch fixes get_constraint_name in the ANSIConstraintCommon class. It's part of the fixes needed for SQLA 0.9.x compat. Change-Id: I1f1648af48f459bd18f99bb42fa9a272186fb37d | ||||
* | decouple index name generation from sqlalchemy version | Pádraig Brady | 2013-09-23 | 1 | -15/+19 |
| | | | | | | | | | | In commit 0.7.2-16-gc670d1d the _index_identifier() implementation was copied from sqlalchemy, as that function was renamed in sqlalchemy 0.8. Instead handle call the renamed function when appropriate, to decouple ourselves from the sqlalchemy implementation. Change-Id: I97b22c20d96758fc5b6bd55318218edb26c5b5d0 | ||||
* | added bugfixes for 0.8 | Josip Delic | 2013-07-11 | 1 | -0/+14 |
| | |||||
* | drop SQLAlchemy < 0.6 compatibility code | Jan Dittberner | 2011-10-28 | 1 | -86/+20 |
| | |||||
* | no special treatment for SQLA 0.7 required in migrate.changeset.ansisql | Jan Dittberner | 2011-05-27 | 1 | -8/+4 |
| | |||||
* | remove commented code | Jan Dittberner | 2011-05-26 | 1 | -5/+0 |
| | |||||
* | fix unit test for adding new columns with foreign keys | Jan Dittberner | 2011-05-26 | 1 | -3/+12 |
| | |||||
* | use _index_identifier instead of _validate_identifier if | Jan Dittberner | 2010-11-09 | 1 | -5/+18 |
| | | | | | _validate_identifier does not exist in migrate/changeset/ansisql.py remove executable bits from migrate/tests/fixture/warnings.py | ||||
* | Fix issue 94 - it was impossible to add a column with a non-unique index. | chrisw | 2010-09-09 | 1 | -4/+1 |
| | | | Also implement more functionality with unique and foreign key constrains for sqlite. | ||||
* | move all exception classes to migrate.exceptions | iElectric | 2010-09-07 | 1 | -2/+4 |
| | |||||
* | fix unittests | Jan Dittberner | 2010-07-04 | 1 | -2/+1 |
| | | | * tested with Python 2.6, SQLAlchemy 0.6.1, PostgreSQL, MySQL and SQLite | ||||
* | SA06 tests fix, thanks to Mike Bayer | iElectric | 2010-05-02 | 1 | -0/+7 |
| | |||||
* | add support for SA 0.6 by Michael Bayer | iElectric | 2009-06-29 | 1 | -57/+108 |
| | |||||
* | - completely refactored ColumnDelta to extract differences between ↵ | iElectric | 2009-06-27 | 1 | -41/+9 |
| | | | | | | | | 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 | ||||
* | adding basic support for firebird, fixes #55 | iElectric | 2009-06-22 | 1 | -2/+5 |
| | |||||
* | finally, tests pass for all supported dialects | iElectric | 2009-06-21 | 1 | -4/+1 |
| | |||||
* | some more PEP8 love | iElectric | 2009-06-21 | 1 | -5/+10 |
| | |||||
* | updated changeset tests. whole package is finally PEP8. fixed mysql ↵ | iElectric | 2009-06-20 | 1 | -78/+63 |
| | | | | tests&bugs. updated docs where apropriate. changeset test coverage almost at 100% | ||||
* | - refactor migrate.changeset; | iElectric | 2009-06-16 | 1 | -85/+72 |
| | | | | | | | - 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* | ||||
* | update docs, delete obsolete code in constraints | iElectric | 2009-06-12 | 1 | -51/+32 |
| | |||||
* | use sqlalchemy preparer to do SQL quote formatting. this is a raw change, ↵ | iElectric | 2009-06-11 | 1 | -38/+30 |
| | | | | tests are yet to be written | ||||
* | lipstick changes | iElectric | 2009-06-10 | 1 | -1/+1 |
| | |||||
* | add support for ondelete and oncascade to ANSI-SQL foreign key creation | jan.dittberner | 2009-02-20 | 1 | -0/+4 |
| | | | address Issue 48 | ||||
* | cleanup in migrate.changeset.ansisql and api doc update | jan.dittberner | 2009-01-25 | 1 | -43/+37 |
| | | | | | remove old commented code in ansisql.py add some ReST docstrings in ansisql.py add migrate.changeset.constraint link ins api.rst | ||||
* | make migrate.schema.ansisql PEP8 clean and add some sphinx docstrings | jan.dittberner | 2009-01-25 | 1 | -105/+150 |
| | |||||
* | first sphinx docstrings | jan.dittberner | 2009-01-25 | 1 | -1/+5 |
| | |||||
* | support for SA 0.5.1. | percious17 | 2009-01-19 | 1 | -8/+33 |
| | | | | | | | Only postgres is working fully. MySQL has 2 broken tests. sqlite has about 4 broken tests. | ||||
* | integrate patch for supporting CheckConstraints by srittau. | jan.dittberner | 2009-01-10 | 1 | -0/+8 |
| | | | | Fixes Issue #31 needs a test case | ||||
* | fixed bug in create column where foreign keys were being left out. | percious17 | 2008-12-16 | 1 | -5/+9 |
| | |||||
* | print statement removal | percious17 | 2008-12-02 | 1 | -2/+0 |
| | |||||
* | most of the tests are now working with nose. | percious17 | 2008-12-02 | 1 | -1/+3 |
| | |||||
* | modified altering of columns to support postgres. | percious17 | 2008-11-27 | 1 | -3/+3 |
| | |||||
* | missed a postgres identifier quoting on renaming | percious17 | 2008-11-27 | 1 | -5/+3 |
| | |||||
* | added hook functions which allow the dialects to specify how to indicate ↵ | percious17 | 2008-11-26 | 1 | -4/+16 |
| | | | | | identifiers, as this is different in postgres. Also, this fix includes a fix for modification of columns which have tables definied within a schema. This was also broken in postgres. | ||||
* | integrate patch for Issue 33 | jan.dittberner | 2008-09-16 | 1 | -1/+1 |
| | |||||
* | add support for SA 0.5 | christian.simms | 2008-08-28 | 1 | -8/+4 |
| | |||||
* | make import of sqlalchemy's SchemaGenerator work regardless of previous imports | christian.simms | 2008-02-18 | 1 | -1/+1 |
| | |||||
* | integrated patch by Christian Simms posted at ↵ | jan.dittberner | 2008-02-14 | 1 | -11/+12 |
| | | | | | | 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 | ||||
* | moved trunk, branches and tags to project root | jan.dittberner | 2008-02-06 | 1 | -0/+280 |
fixes Issue #5 |