summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* 0.6.7rel_0_6_7rel_0_6Mike Bayer2014-09-092-2/+3
|
* - update naming convention link to point to official docscleanupMike Bayer2014-09-091-8/+4
|
* - finish flake8 on testsMike Bayer2014-09-0916-131/+252
|
* - fix long lines within packageMike Bayer2014-09-0917-172/+232
|
* - do an autopep8 pass for just about everything otherMike Bayer2014-09-0944-1357/+1661
| | | | than line length
* - changelog for pr bitbucket:26Mike Bayer2014-09-091-0/+8
|
* Merge https://bitbucket.org/utek/alembic/branch/master into pr26Mike Bayer2014-09-092-1/+12
|\
| * more test fixesŁukasz Bołdys2014-09-091-1/+1
| |
| * fixed testŁukasz Bołdys2014-09-091-1/+1
| |
| * MS SQL is using sp_rename instead of Alter table to rename tableŁukasz Bołdys2014-09-092-1/+12
| |
* | - add a tox.ini fileMike Bayer2014-09-094-5/+44
|/ | | | - update the readme.unittests a bit
* Merged in andreasgrapentin/alembic/template_eval (pull request #25) Mike Bayer2014-08-281-2/+2
|\ | | | | replacing eval in multidb template with globals() function lookup
| * replacing eval in multidb template with globals() function lookupAndreas Grapentin2014-08-281-2/+2
|/
* - Added support for functional indexes when using theMike Bayer2014-08-274-6/+125
| | | | | | | | | | :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
* 0.6.6rel_0_6_6Mike Bayer2014-08-071-0/+1
|
* - ignore __init__.py in versions directory, fixes #95.Mike Bayer2014-08-073-3/+45
|
* - changelog for pullreq bitbucket:23Mike Bayer2014-08-071-0/+9
|
* Merged in ↵Mike Bayer2014-08-073-6/+17
|\ | | | | | | | | | | paradoxxxzero/alembic/paradoxxxzero/fix-sorted-of-none-values-in-compare-for-1403597500844 (pull request #23) Fix sorted of None values in compare for python 3
| * Alter autogenerate tests to show python3 problem on already existing tables sortFlorian Mounier2014-06-253-5/+15
| |
| * Fix sorted of None values in compare for python 3paradoxxxzero2014-06-241-1/+2
| |
* | Support autogenerating migrations for tables with 255 or more columnsRyan P. Kelly2014-08-074-12/+63
| |
* | changelog for pr github:14Mike Bayer2014-08-071-0/+8
| |
* | Merge remote-tracking branch 'github/pr/14' into pr14Mike Bayer2014-08-072-8/+18
|\ \
| * | (hopefully) make the code a bit more readableAndreas Zeidler2014-06-041-9/+4
| | |
| * | fix rendering of foreign key constraint when using a metadata schemaAndreas Zeidler2014-06-042-3/+18
| | |
* | | this is 0.6.6Mike Bayer2014-06-241-1/+1
| |/ |/|
* | - Some deep-in-the-weeds fixes to try to get "server default" comparisonMike Bayer2014-06-236-36/+121
| | | | | | | | | | | | | | | | | | working better across platforms and expressions, in particular on the Postgresql backend, mostly dealing with quoting/not quoting of various expressions at the appropriate time and on a per-backend basis. Repaired and tested support for such defaults as Postgresql interval and array defaults. fixes #212
* | - When a run of Alembic command line fails due to ``CommandError``,Mike Bayer2014-06-122-1/+12
| | | | | | | | | | | | the output now prefixes the string with ``"FAILED:"``, and the error is also written to the log output using ``log.error()``. fixes #209
* | - Liberalized even more the check for MySQL indexes that shouldn't beMike Bayer2014-06-054-13/+74
| | | | | | | | | | | | | | counted in autogenerate as "drops"; this time it's been reported that an implicitly created index might be named the same as a composite foreign key constraint, and not the actual columns, so we now skip those when detected as well. fixes #208
* | Eliminate {} (dict) default arg value for `opts`Marc Abramowitz2014-05-281-1/+4
|/ | | | | | | | | to MigrationContext.configure Using a mutable type as a default value is a common source of obscure problems. See http://docs.python-guide.org/en/latest/writing/gotchas/#mutable-default-arguments
* - changelog + test for MigrationContext.configMike Bayer2014-05-253-3/+27
|
* Merge branch 'add_env_context_and_config_to_migration_context' of ↵Mike Bayer2014-05-252-2/+13
|\ | | | | | | https://github.com/msabramo/alembic into t
| * Add EnvironmentContext and Config to MigrationContextMarc Abramowitz2014-05-192-2/+13
| | | | | | | | | | | | | | | | This lets migrations do stuff like: op.get_context().config.get_main_option('schema') where `schema` is a custom option that I added to alembic.ini
* | Merge pull request #11 from msabramo/gitignoremike bayer2014-05-251-1/+1
|\ \ | |/ |/| .gitignore: .egg-info => *.egg-info
| * .gitignore: .egg-info => *.egg-infoMarc Abramowitz2014-05-191-1/+1
|/
* update link to pkg_resourcesMike Bayer2014-05-151-1/+1
|
* 0.6.5rel_0_6_5Mike Bayer2014-05-031-0/+1
|
* - This releases' "autogenerate index detection" bug, when a MySQL tableMike Bayer2014-05-024-5/+94
| | | | | | | | | | | | includes an Index with the same name as a column, autogenerate reported it as an "add" even though its not; this is because we ignore reflected indexes of this nature due to MySQL creating them implicitly. Indexes that are named the same as a column are now ignored on MySQL if we see that the backend is reporting that it already exists; this indicates that we can still detect additions of these indexes but not drops, as we cannot distinguish a backend index same-named as the column as one that is user generated or mysql-generated. fixes #202
* - index autogen is a big enough deal to warrant its own test suiteMike Bayer2014-05-022-508/+520
|
* - Added new feature ↵Mike Bayer2014-05-025-54/+107
| | | | | | | | | | :paramref:`.EnvironmentContext.configure.transaction_per_migration`, which when True causes the BEGIN/COMMIT pair to incur for each migration individually, rather than for the whole series of migrations. This is to assist with some database directives that need to be within individual transactions, without the need to disable transactional DDL entirely. fixes #201
* - Fixed bug where the ``include_object()`` filter would not receiveMike Bayer2014-04-303-13/+19
| | | | | | | | the original :class:`.Column` object when evaluating a database-only column to be dropped; the object would not include the parent :class:`.Table` nor other aspects of the column that are important for generating the "downgrade" case where the column is recreated. fixes #200
* - Fixed bug where :meth:`.EnvironmentContext.get_x_argument`Mike Bayer2014-04-043-1/+76
| | | | | would fail if the :class:`.Config` in use didn't actually originate from a command line call. fixes #195
* Fixed another bug regarding naming conventions, continuingMike Bayer2014-04-014-3/+55
| | | | | | | from :ticket:`183`, where add_index() drop_index() directives would not correctly render the ``f()`` construct when the index contained a convention-driven name. fixes #194 re: #183
* 0.6.4rel_0_6_4Mike Bayer2014-03-281-0/+1
|
* use correct __mro__ for new mssql _Exec classes, fix #192Mike Bayer2014-03-282-2/+3
|
* - Added quoting to the table name when the special EXEC is run toMike Bayer2014-03-253-11/+46
| | | | | | | drop any existing server defaults or constraints when the :paramref:`.drop_column.mssql_drop_check` or :paramref:`.drop_column.mssql_drop_default` arguments are used. fix #186
* - add an additional fix to the MySQL fixes for re: #103.Mike Bayer2014-03-222-1/+10
|
* - use compat version of mock for py3Mike Bayer2014-03-162-1/+3
|
* - Added/fixed support for MySQL "SET DEFAULT" / "DROP DEFAULT" phrases,Mike Bayer2014-03-163-37/+148
| | | | | | | | which will now be rendered if only the server default is changing or being dropped (e.g. specify None to alter_column() to indicate "DROP DEFAULT"). Also added support for rendering MODIFY rather than CHANGE when the column name isn't changing. fixes #103
* - add test for drop defaultMike Bayer2014-03-161-0/+10
|