]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/log
thirdparty/sqlalchemy/alembic.git
9 years agoDon't remove None for default schema of None
Mike Bayer [Wed, 29 Jun 2016 20:22:24 +0000 (16:22 -0400)] 
Don't remove None for default schema of None

Fixed bug in autogen where if the DB connection sends the default
schema as "None", this "None" would be removed from the list of
schemas to check if include_schemas were set.  This could possibly
impact using include_schemas with SQLite.

Change-Id: I553cdbbe2cfaa5228d86019e14f7c9f56231f295

9 years ago- adjust boolean no_ck test to not use Boolean type
Mike Bayer [Fri, 24 Jun 2016 02:19:55 +0000 (22:19 -0400)] 
- adjust boolean no_ck test to not use Boolean type
to insert a non 0/1 integer; SQLA 1.1 now coerces it to
1/0

Change-Id: I4447547b98a5178c7a1185d5788bfb58ae8c23ee

9 years agoMerged in gkrimer/alembic/cookbook-additions (pull request #58)
Mike Bayer [Wed, 22 Jun 2016 14:11:15 +0000 (10:11 -0400)] 
Merged in gkrimer/alembic/cookbook-additions (pull request #58)

Adding cookbook recipe for excluding views from migrations.

9 years agoAdding cookbook recipe for excluding views from migrations.
Greg Krimer [Tue, 21 Jun 2016 16:30:45 +0000 (11:30 -0500)] 
Adding cookbook recipe for excluding views from migrations.

9 years ago- now at alembic.zzzcomputing.com
Mike Bayer [Sat, 18 Jun 2016 03:48:05 +0000 (23:48 -0400)] 
- now at alembic.zzzcomputing.com

Change-Id: I740b6e65e14f9b6417ecce0b6bb1853a9037bf05

9 years ago- didn't work. sadface
Mike Bayer [Sat, 18 Jun 2016 02:14:00 +0000 (22:14 -0400)] 
- didn't work.  sadface

Change-Id: I59e31c4aa4f5e25b230f4d2e211cb6448f3339ac

9 years ago- attempt to get RTD to include the correct searchtools
Mike Bayer [Sat, 18 Jun 2016 01:05:32 +0000 (21:05 -0400)] 
- attempt to get RTD to include the correct searchtools

Change-Id: Iafb3854e85a48874410235483e4d474f24d6fe52

9 years ago- bump sphinx-paramlinks, trying to get builds to work on RTD
Mike Bayer [Fri, 17 Jun 2016 19:05:52 +0000 (15:05 -0400)] 
- bump sphinx-paramlinks, trying to get builds to work on RTD

Change-Id: Ie57c3f6a26ced7493665be509c6fdfd3d290022d

9 years agoAdd .gitreview
Mike Bayer [Fri, 17 Jun 2016 14:42:24 +0000 (10:42 -0400)] 
Add .gitreview

Change-Id: I97f2929d278c7807be1e4f46ef0a4456995b9dc5

9 years ago- SQlite supports reflection of ON UPDATE / ON DELETE in SQLA 1.1
Mike Bayer [Fri, 3 Jun 2016 19:10:01 +0000 (15:10 -0400)] 
- SQlite supports reflection of ON UPDATE / ON DELETE in SQLA 1.1
- this reflection retains the original case

9 years ago- repair typo
Mike Bayer [Thu, 2 Jun 2016 13:13:52 +0000 (09:13 -0400)] 
- repair typo

9 years ago- version bump
Mike Bayer [Wed, 1 Jun 2016 22:08:02 +0000 (18:08 -0400)] 
- version bump

9 years ago- Small adjustment made to the batch handling for reflected CHECK
Mike Bayer [Wed, 1 Jun 2016 22:07:40 +0000 (18:07 -0400)] 
- Small adjustment made to the batch handling for reflected CHECK
constraints to accommodate for SQLAlchemy 1.1 now reflecting these.
Batch mode still does not support CHECK constraints from the reflected
table as these can't be easily differentiated from the ones created
by types such as Boolean.

9 years agoMerged in kveretennicov/alembic/kveretennicov/-update-cookbook-wording-to-reflect...
Mike Bayer [Tue, 24 May 2016 20:31:49 +0000 (16:31 -0400)] 
Merged in kveretennicov/alembic/kveretennicov/-update-cookbook-wording-to-reflect-that-1463688141291 (pull request #57)

- update Cookbook wording to reflect that it contains multiple recipes now

9 years ago- update Cookbook wording to reflect that it contains multiple recipes now
Konstantin Veretennicov [Thu, 19 May 2016 20:02:26 +0000 (20:02 +0000)] 
- update Cookbook wording to reflect that it contains multiple recipes now

9 years ago- don't use dropfirst if -n is used. on CI the dropfirst is
Mike Bayer [Sun, 24 Apr 2016 18:41:38 +0000 (14:41 -0400)] 
- don't use dropfirst if -n is used.  on CI the dropfirst is
colliding with other builds

9 years agoMerged in Merwok/alembic/Merwok/fix-label-markup-1461358784082 (pull request #56)
Mike Bayer [Fri, 22 Apr 2016 22:27:57 +0000 (18:27 -0400)] 
Merged in Merwok/alembic/Merwok/fix-label-markup-1461358784082 (pull request #56)

Fix label markup

9 years agoFix label markup
Éric Araujo [Fri, 22 Apr 2016 20:59:50 +0000 (20:59 +0000)] 
Fix label markup

9 years ago- 0.8.6 rel_0_8_6
Mike Bayer [Thu, 14 Apr 2016 21:26:57 +0000 (17:26 -0400)] 
- 0.8.6

9 years ago- Errors which occur within the Mako render step are now intercepted
Mike Bayer [Sat, 9 Apr 2016 01:32:07 +0000 (21:32 -0400)] 
- Errors which occur within the Mako render step are now intercepted
and raised as CommandErrors like other failure cases; the Mako
exception itself is written using template-line formatting to
a temporary file which is named in the exception message.
fixes #367

9 years ago- PK names now works w/ sqlite + sqla 1.1
Mike Bayer [Thu, 31 Mar 2016 16:35:17 +0000 (12:35 -0400)] 
- PK names now works w/ sqlite + sqla 1.1

9 years ago- Added a fix to Postgresql server default comparison which first checks
Mike Bayer [Mon, 21 Mar 2016 18:25:49 +0000 (14:25 -0400)] 
- Added a fix to Postgresql server default comparison which first checks
if the text of the default is identical to the original, before attempting
to actually run the default.  This accomodates for default-generation
functions that generate a new value each time such as a uuid function.
fixes #365
- test against uuid_generate_v4() directly, but this requires extensions
to be installed.  should come up with a built in function for this test

9 years ago- repair the previous commit that put the decorators in the wrong place
Mike Bayer [Wed, 16 Mar 2016 22:52:16 +0000 (18:52 -0400)] 
- repair the previous commit that put the decorators in the wrong place
entirely

9 years ago- exclude 0.7.9 here
Mike Bayer [Wed, 16 Mar 2016 20:46:42 +0000 (16:46 -0400)] 
- exclude 0.7.9 here

9 years ago- changelog for #361, fixes #361
Mike Bayer [Wed, 16 Mar 2016 19:25:01 +0000 (15:25 -0400)] 
- changelog for #361, fixes #361
- rename test

9 years agoMerge branch 'master' of https://bitbucket.org/mdomke/alembic into pr55
Mike Bayer [Wed, 16 Mar 2016 19:21:29 +0000 (15:21 -0400)] 
Merge branch 'master' of https://bitbucket.org/mdomke/alembic into pr55

9 years ago- 0.8.6 bump
Mike Bayer [Wed, 16 Mar 2016 19:19:39 +0000 (15:19 -0400)] 
- 0.8.6 bump
- changelog for pr bitbucket:53

9 years agoMerge branch 'mssql_batch_drop_column_fix' of https://bitbucket.org/koniiiik/alembic...
Mike Bayer [Wed, 16 Mar 2016 19:16:33 +0000 (15:16 -0400)] 
Merge branch 'mssql_batch_drop_column_fix' of https://bitbucket.org/koniiiik/alembic into pr53

9 years agoAllow server_default=None for batch operations.
Martin Domke [Wed, 16 Mar 2016 16:35:28 +0000 (17:35 +0100)] 
Allow server_default=None for batch operations.

9 years ago- dont need pytest-cov for setup.py test
Mike Bayer [Thu, 10 Mar 2016 21:51:00 +0000 (16:51 -0500)] 
- dont need pytest-cov for setup.py test

9 years ago- ignore more annoying flake rules we aren't checking yet
Mike Bayer [Thu, 10 Mar 2016 21:47:52 +0000 (16:47 -0500)] 
- ignore more annoying flake rules we aren't checking yet

9 years ago- 0.8.5 rel_0_8_5
Mike Bayer [Wed, 9 Mar 2016 14:36:07 +0000 (09:36 -0500)] 
- 0.8.5

9 years ago- humor me. why are we squashing all mysql DROP DB exceptions?
Mike Bayer [Thu, 3 Mar 2016 15:49:27 +0000 (10:49 -0500)] 
- humor me.  why are we squashing all mysql DROP DB exceptions?

9 years ago- missing import
Mike Bayer [Thu, 3 Mar 2016 15:47:24 +0000 (10:47 -0500)] 
- missing import

9 years ago- use hex idents for DB names
Mike Bayer [Thu, 3 Mar 2016 15:26:29 +0000 (10:26 -0500)] 
- use hex idents for DB names

9 years ago- coverage -> cov
Mike Bayer [Thu, 3 Mar 2016 15:15:32 +0000 (10:15 -0500)] 
- coverage -> cov

9 years ago- updates from SQLA 1.1 for improved concurrency
Mike Bayer [Thu, 3 Mar 2016 14:14:55 +0000 (09:14 -0500)] 
- updates from SQLA 1.1 for improved concurrency

9 years ago- update tox for new SQLA 1.1 style
Mike Bayer [Thu, 3 Mar 2016 14:05:03 +0000 (09:05 -0500)] 
- update tox for new SQLA 1.1 style

9 years agoMerged in __item4__/alembic/docs (pull request #54)
Mike Bayer [Wed, 2 Mar 2016 00:11:08 +0000 (19:11 -0500)] 
Merged in __item4__/alembic/docs (pull request #54)

Fix wrong ReST expression

9 years agoFix wrong ReST expression
Kim Jin Su [Mon, 29 Feb 2016 16:02:19 +0000 (01:02 +0900)] 
Fix wrong ReST expression

9 years ago- happy new year
Mike Bayer [Fri, 29 Jan 2016 16:27:00 +0000 (11:27 -0500)] 
- happy new year

9 years agoMerge remote-tracking branch 'github/pr/25'
Mike Bayer [Fri, 29 Jan 2016 15:51:51 +0000 (10:51 -0500)] 
Merge remote-tracking branch 'github/pr/25'

9 years ago- changelog for pr49, fixes #335
Mike Bayer [Fri, 29 Jan 2016 15:29:42 +0000 (10:29 -0500)] 
- changelog for pr49, fixes #335

9 years agoMerge branch 'ticket_335' of https://bitbucket.org/jessedhillon/alembic into pr49
Mike Bayer [Fri, 29 Jan 2016 15:27:32 +0000 (10:27 -0500)] 
Merge branch 'ticket_335' of https://bitbucket.org/jessedhillon/alembic into pr49

9 years ago- use compat is_type_bound() function
Mike Bayer [Fri, 22 Jan 2016 18:36:53 +0000 (13:36 -0500)] 
- use compat is_type_bound() function

9 years ago- update copyrights within the testing package...
Mike Bayer [Fri, 22 Jan 2016 18:08:33 +0000 (13:08 -0500)] 
- update copyrights within the testing package...

9 years ago- Repaired batch migration support for "schema" types which generate
Mike Bayer [Fri, 22 Jan 2016 18:04:27 +0000 (13:04 -0500)] 
- Repaired batch migration support for "schema" types which generate
constraints, in particular the ``Boolean`` datatype which generates
a CHECK constraint.  Previously, an alter column operation with this
type would fail to correctly accommodate for the CHECK constraint
on change both from and to this type.  In the former case the operation
would fail entirely, in the latter, the CHECK constraint would
not get generated.  Both of these issues are repaired.
fixes #354
- Changing a schema type such as ``Boolean`` to a non-schema type would
emit a drop constraint operation which emits ``NotImplementedError`` for
the MySQL dialect.  This drop constraint operation is now skipped when
the constraint originates from a schema type.
fixes #355

9 years agoFixed mssql_* kwargs in batch_op.drop_column().
Michal Petrucha [Thu, 21 Jan 2016 10:13:56 +0000 (11:13 +0100)] 
Fixed mssql_* kwargs in batch_op.drop_column().

9 years ago- add a note referring to if programmatic config is used,
Mike Bayer [Sun, 27 Dec 2015 23:48:26 +0000 (18:48 -0500)] 
- add a note referring to if programmatic config is used,
logging might not work, fixes #45

9 years agosqla_094 was being imported twice.
Josh Kupershmidt [Wed, 16 Dec 2015 22:22:57 +0000 (17:22 -0500)] 
sqla_094 was being imported twice.

9 years agoFix pylint complaint about logging-not-lazy.
Josh Kupershmidt [Wed, 16 Dec 2015 22:21:03 +0000 (17:21 -0500)] 
Fix pylint complaint about logging-not-lazy.

9 years ago- 0.8.4 rel_0_8_4
Mike Bayer [Tue, 15 Dec 2015 23:20:28 +0000 (18:20 -0500)] 
- 0.8.4

9 years ago- changelog for pullreq bitbucket:51
Mike Bayer [Tue, 15 Dec 2015 22:24:09 +0000 (17:24 -0500)] 
- changelog for pullreq bitbucket:51

9 years agoMerge branch 'prettier_id' of https://bitbucket.org/antti_haapala/alembic
Mike Bayer [Tue, 15 Dec 2015 22:20:23 +0000 (17:20 -0500)] 
Merge branch 'prettier_id' of https://bitbucket.org/antti_haapala/alembic

9 years ago- tests and changelog for pullreq github:20
Mike Bayer [Tue, 15 Dec 2015 22:03:44 +0000 (17:03 -0500)] 
- tests and changelog for pullreq github:20

9 years agoMerge remote-tracking branch 'github/pr/20'
Mike Bayer [Tue, 15 Dec 2015 22:01:01 +0000 (17:01 -0500)] 
Merge remote-tracking branch 'github/pr/20'

9 years agoMerge remote-tracking branch 'github/pr/23'
Mike Bayer [Tue, 15 Dec 2015 21:43:35 +0000 (16:43 -0500)] 
Merge remote-tracking branch 'github/pr/23'

9 years agoMerge remote-tracking branch 'github/pr/22'
Mike Bayer [Tue, 15 Dec 2015 21:43:32 +0000 (16:43 -0500)] 
Merge remote-tracking branch 'github/pr/22'

9 years agoGet rid of duplicate `reraise` and `raise_from_cause` definitions.
Josh Kupershmidt [Tue, 15 Dec 2015 20:59:21 +0000 (15:59 -0500)] 
Get rid of duplicate `reraise` and `raise_from_cause` definitions.

9 years agoglobal keyword here is unnecesary
Josh Kupershmidt [Tue, 15 Dec 2015 20:21:09 +0000 (15:21 -0500)] 
global keyword here is unnecesary

9 years ago- Batch mode generates a FOREIGN KEY constraint that is self-referential
Mike Bayer [Tue, 15 Dec 2015 17:37:04 +0000 (12:37 -0500)] 
- Batch mode generates a FOREIGN KEY constraint that is self-referential
using the ultimate table name, rather than ``_alembic_batch_temp``.
When the table is renamed from ``_alembic_batch_temp`` back to the
original name, the FK now points to the right name.  This
will **not** work if referential integrity is being enforced (eg. SQLite
"PRAGMA FOREIGN_KEYS=ON") since the original table is dropped and
the new table then renamed to that name, however this is now consistent
with how foreign key constraints on **other** tables already operate
with batch mode; these don't support batch mode if referential integrity
is enabled in any case.
fixes #345

9 years ago- use pymysql here
Mike Bayer [Tue, 15 Dec 2015 17:34:56 +0000 (12:34 -0500)] 
- use pymysql here

9 years ago- existing_server_default is not used to drop the previous
Mike Bayer [Thu, 10 Dec 2015 17:15:23 +0000 (12:15 -0500)] 
- existing_server_default is not used to drop the previous
schema type constraint; existing_type is.  I haven't checked to
see if this changed at some point but that's what the source code
right now says.

9 years ago- document that the value we pass to set_section_option and set_main_option
Mike Bayer [Tue, 8 Dec 2015 20:01:15 +0000 (15:01 -0500)] 
- document that the value we pass to set_section_option and set_main_option
is in fact subject to variable interpolation, so raw percents must be doubled.
- add a test demonstrating the use of interpolation.

9 years ago- Added a type-level comparator that distinguishes :class:`.Integer`,
Mike Bayer [Sat, 5 Dec 2015 20:02:20 +0000 (15:02 -0500)] 
- Added a type-level comparator that distinguishes :class:`.Integer`,
:class:`.BigInteger`, and :class:`.SmallInteger` types and
dialect-specific types; these all have "Integer" affinity so previously
all compared as the same.
fixes #341

9 years agoprettier revision identifier (always exatly 12 hex digits long) with better guarantee...
antti_haapala [Sun, 29 Nov 2015 16:27:57 +0000 (16:27 +0000)] 
prettier revision identifier (always exatly 12 hex digits long) with better guaranteed entropy (the last 48 bits of a uuid4 are all random). Works everywhere where uuid module exists (2.5 -)

Rationale: with the current code most revision ids start with 1, 2, 3 or 4, and there are far more collisions with 2 initial digits than necessary (cumbersome to check a file by revision on command line and such). So instead of revision ids that are 1-12 digits long with ~45 bits of information, lets just have them 12 digits long and contain full 48 bits of info.

9 years ago- add py35
Mike Bayer [Sun, 22 Nov 2015 21:03:43 +0000 (16:03 -0500)] 
- add py35

9 years ago- Fixed bug where the ``server_default`` parameter of ``alter_column()``
Mike Bayer [Sun, 22 Nov 2015 20:25:00 +0000 (15:25 -0500)] 
- Fixed bug where the ``server_default`` parameter of ``alter_column()``
would not function correctly in batch mode.
fixes #338

9 years agoMerged in agirivera/alembic/agirivera/fixed-some-grammatical-issue-and-spellin-144660...
Mike Bayer [Tue, 10 Nov 2015 17:54:45 +0000 (12:54 -0500)] 
Merged in agirivera/alembic/agirivera/fixed-some-grammatical-issue-and-spellin-1446601623510 (pull request #50)

Fixed some grammatical issue and spelling typos

9 years agoFixed some grammatical issue and spelling typos
Alec Joseph Rivera [Wed, 4 Nov 2015 01:47:07 +0000 (01:47 +0000)] 
Fixed some grammatical issue and spelling typos

9 years ago- Adjusted the rendering for index expressions such that a :class:`.Column`
Mike Bayer [Fri, 30 Oct 2015 16:12:07 +0000 (12:12 -0400)] 
- Adjusted the rendering for index expressions such that a :class:`.Column`
object present in the source :class:`.Index` will not be rendered
as table-qualified; e.g. the column name will be rendered alone.
Table-qualified names here were failing on systems such as Postgresql.
fixes #337

9 years agoAutogenerate renderer for op.ExecuteSQLOp
Jacob Magnusson [Thu, 29 Oct 2015 11:14:20 +0000 (12:14 +0100)] 
Autogenerate renderer for op.ExecuteSQLOp
Asserts that the passed in sqltext is a string to simplify the
implementation. Generates a op.execute(sqltext) line.

9 years ago- `PrimaryKeyConstraint` should be rendered referencing the `name`
Jesse Dhillon [Sun, 25 Oct 2015 21:49:01 +0000 (14:49 -0700)] 
- `PrimaryKeyConstraint` should be rendered referencing the `name`
  property of the columns it comprises, instead of the `key`. See #335

9 years ago0.8.3 rel_0_8_3
Mike Bayer [Fri, 16 Oct 2015 19:19:26 +0000 (15:19 -0400)] 
0.8.3

9 years ago- make the assertion more specific here
Mike Bayer [Fri, 16 Oct 2015 17:35:59 +0000 (13:35 -0400)] 
- make the assertion more specific here

9 years ago- Fixed an 0.8 regression whereby the "imports" dictionary member of
Mike Bayer [Fri, 16 Oct 2015 16:29:32 +0000 (12:29 -0400)] 
- Fixed an 0.8 regression whereby the "imports" dictionary member of
the autogen context was removed; this collection is documented in the
"render custom type" documentation as a place to add new imports.
The member is now known as
:attr:`.AutogenContext.imports` and the documentation is repaired.
fixes #332

9 years ago- Fixed bug in batch mode where a table that had pre-existing indexes
Mike Bayer [Fri, 16 Oct 2015 16:06:01 +0000 (12:06 -0400)] 
- Fixed bug in batch mode where a table that had pre-existing indexes
would create the same index on the new table with the same name,
which on SQLite produces a naming conflict as index names are in a
global namespace on that backend.   Batch mode now defers the production
of both existing and new indexes until after the entire table transfer
operation is complete, which also means those indexes no longer take
effect during the INSERT from SELECT section as well; the indexes
are applied in a single step afterwards.
fixes #333

9 years ago- changelog for pr #47
Mike Bayer [Wed, 16 Sep 2015 18:08:26 +0000 (14:08 -0400)] 
- changelog for pr #47

9 years agotox: add pytest-xdist as a dependency
Julien Danjou [Wed, 16 Sep 2015 12:26:05 +0000 (14:26 +0200)] 
tox: add pytest-xdist as a dependency

This is mandatory to have the `-n' option passed to pytest to work.

9 years ago- Fixed issue in PG server default comparison where model-side defaults
Mike Bayer [Thu, 3 Sep 2015 01:52:33 +0000 (21:52 -0400)] 
- Fixed issue in PG server default comparison where model-side defaults
configured with Python unicode literals would leak the "u" character
from a ``repr()`` into the SQL used for comparison, creating an invalid
SQL expression, as the server-side comparison feature in PG currently
repurposes the autogenerate Python rendering feature to get a quoted
version of a plain string default.
fixes #324

9 years ago- doc edits fixes #322
Mike Bayer [Thu, 27 Aug 2015 13:57:32 +0000 (09:57 -0400)] 
- doc edits fixes #322

9 years ago0.8.2 rel_0_8_2
Mike Bayer [Tue, 25 Aug 2015 16:32:47 +0000 (12:32 -0400)] 
0.8.2

9 years ago- Added workaround in new foreign key option detection feature for
Mike Bayer [Tue, 25 Aug 2015 16:11:19 +0000 (12:11 -0400)] 
- Added workaround in new foreign key option detection feature for
MySQL's consideration of the "RESTRICT" option being the default,
for which no value is reported from the database; the MySQL impl now
corrects for when the model reports RESTRICT but the database reports
nothing.   A similar rule is in the default FK comparison to accommodate
for the default "NO ACTION" setting being present in the model but not
necessarily reported by the database, or vice versa.
fixes #321

9 years ago0.8.1 rel_0_8_1
Mike Bayer [Sat, 22 Aug 2015 19:34:26 +0000 (15:34 -0400)] 
0.8.1

9 years ago- add a cookbook recipe for don't generate if no changes,
Mike Bayer [Sat, 22 Aug 2015 19:30:58 +0000 (15:30 -0400)] 
- add a cookbook recipe for don't generate if no changes,
references #80

9 years ago- add a test and changelog notes for the fact that a non-autogenerate
Mike Bayer [Fri, 21 Aug 2015 17:06:56 +0000 (13:06 -0400)] 
- add a test and changelog notes for the fact that a non-autogenerate
run can render Python code in upgradeops/downgradeops via the
process_revision_directives hook.

9 years ago- Repaired the render operation for the :class:`.ops.AlterColumnOp` object
Mike Bayer [Fri, 21 Aug 2015 15:59:52 +0000 (11:59 -0400)] 
- Repaired the render operation for the :class:`.ops.AlterColumnOp` object
to succeed when the "existing_type" field was not present.

9 years ago- FK option reflection for pg/mysql added in 0.9
Mike Bayer [Fri, 21 Aug 2015 01:17:12 +0000 (21:17 -0400)] 
- FK option reflection for pg/mysql added in 0.9

9 years ago- Fixed a regression 0.8 whereby the "multidb" environment template
Mike Bayer [Thu, 20 Aug 2015 22:51:08 +0000 (18:51 -0400)] 
- Fixed a regression 0.8 whereby the "multidb" environment template
failed to produce independent migration script segments for the
output template.  This was due to the reorganization of the script
rendering system for 0.8.  To accommodate this change, the
:class:`.MigrationScript` structure will in the case of multiple
calls to :meth:`.MigrationContext.run_migrations` produce lists
for the :attr:`.MigrationScript.upgrade_ops` and
:attr:`.MigrationScript.downgrade_ops` attributes; each :class:`.UpgradeOps`
and :class:`.DowngradeOps` instance keeps track of its own
``upgrade_token`` and ``downgrade_token``, and each are rendered
individually.
fixes #318

9 years ago- Implemented support for autogenerate detection of changes in the
Mike Bayer [Wed, 19 Aug 2015 22:39:44 +0000 (18:39 -0400)] 
- Implemented support for autogenerate detection of changes in the
``ondelete``, ``onupdate``, ``initially`` and ``deferrable``
attributes of :class:`.ForeignKeyConstraint` objects on
SQLAlchemy backends that support these on reflection
(as of SQLAlchemy 1.0.8 currently Postgresql for all four,
MySQL for ``ondelete`` and  ``onupdate`` only).   A constraint object
that modifies these values will be reported as a "diff" and come out
as a drop/create of the constraint with the modified values.
The fields are ignored for backends which don't reflect these
attributes (as of SQLA 1.0.8 this includes SQLite, Oracle, SQL Server,
others). fixes #317

9 years ago- bump version num
Mike Bayer [Tue, 18 Aug 2015 19:44:46 +0000 (15:44 -0400)] 
- bump version num

9 years ago- updates for 1.1
Mike Bayer [Tue, 18 Aug 2015 17:33:49 +0000 (13:33 -0400)] 
- updates for 1.1

9 years agoMerge pull request #18 from graingert/patch-1
mike bayer [Fri, 14 Aug 2015 14:56:24 +0000 (10:56 -0400)] 
Merge pull request #18 from graingert/patch-1

The name has changed to bdist_wheel

9 years agoThe name has changed to bdist_wheel
Thomas Grainger [Fri, 14 Aug 2015 13:51:34 +0000 (14:51 +0100)] 
The name has changed to bdist_wheel

...to fit with other setuptools configs

9 years ago0.8.0 rel_0_8_0
Mike Bayer [Wed, 12 Aug 2015 19:16:48 +0000 (15:16 -0400)] 
0.8.0

9 years ago- Fixed bug in batch mode where the ``batch_op.create_foreign_key()``
Mike Bayer [Wed, 12 Aug 2015 15:46:08 +0000 (11:46 -0400)] 
- Fixed bug in batch mode where the ``batch_op.create_foreign_key()``
directive would be incorrectly rendered with the source table and
schema names in the argument list.
fixes #315

10 years ago- fix this for 079
Mike Bayer [Sat, 8 Aug 2015 22:31:02 +0000 (18:31 -0400)] 
- fix this for 079

10 years ago- ensure that all ops have full backwards/forwards maintenance of
Mike Bayer [Sat, 8 Aug 2015 02:25:41 +0000 (22:25 -0400)] 
- ensure that all ops have full backwards/forwards maintenance of
the original object passed in from autogenerate.  In particular this
ensures that the diff structure from compare_metadata is fully backwards compatible
with no chance of synthesized objects.

10 years ago- add a helper object for autogen rewriting called Rewriter.
Mike Bayer [Fri, 7 Aug 2015 21:58:12 +0000 (17:58 -0400)] 
- add a helper object for autogen rewriting called Rewriter.
this provides for operation-specific handler functions.
docs are based on the example requested in references #313.

10 years ago- Fixed bug where in the erroneous case that alembic_version contains
Mike Bayer [Mon, 3 Aug 2015 23:18:30 +0000 (19:18 -0400)] 
- Fixed bug where in the erroneous case that alembic_version contains
duplicate revisions, some commands would fail to process the
version history correctly and end up with a KeyError.   The fix
allows the versioning logic to proceed, however a clear error is
emitted later when attempting to update the alembic_version table.
fixes #314