| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The "force" parameter in SQLAlchemy IdentifierPreparer.quote()
has been a no-op since 0.9 in
https://github.com/sqlalchemy/sqlalchemy/commit/031ef0807838842a827135dbace760da7aec215e,
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
_validate_identifier does not exist in migrate/changeset/ansisql.py
remove executable bits from migrate/tests/fixture/warnings.py
|
|
|
| |
Also implement more functionality with unique and foreign key constrains for sqlite.
|
| |
|
|
|
| |
* tested with Python 2.6, SQLAlchemy 0.6.1, PostgreSQL, MySQL and SQLite
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
| |
|
|
|
|
| |
tests&bugs. updated docs where apropriate. changeset test coverage almost at 100%
|
|
|
|
|
|
|
| |
- 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*
|
| |
|
|
|
|
| |
tests are yet to be written
|
| |
|
|
|
| |
address Issue 48
|
|
|
|
|
| |
remove old commented code in ansisql.py
add some ReST docstrings in ansisql.py
add migrate.changeset.constraint link ins api.rst
|
| |
|
| |
|
|
|
|
|
|
|
| |
Only postgres is working fully.
MySQL has 2 broken tests.
sqlite has about 4 broken tests.
|
|
|
|
| |
Fixes Issue #31
needs a test case
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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
|
|
fixes Issue #5
|