]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/log
thirdparty/sqlalchemy/alembic.git
12 years agoMerged in dahlia/alembic/remove-unused-imports (pull request #29)
Mike Bayer [Thu, 4 Apr 2013 19:20:40 +0000 (15:20 -0400)] 
Merged in dahlia/alembic/remove-unused-imports (pull request #29)

Remove unused imports

12 years agoMerged in charlax/alembic/format_current (pull request #28)
Mike Bayer [Thu, 4 Apr 2013 19:17:00 +0000 (15:17 -0400)] 
Merged in charlax/alembic/format_current (pull request #28)

Add --head-only option to current command

12 years agoRemoved unused imports from alembic/ directory
Hong Minhee [Sat, 30 Mar 2013 20:01:43 +0000 (05:01 +0900)] 
Removed unused imports from alembic/ directory

12 years agoRemove unused imports
Hong Minhee [Sat, 30 Mar 2013 19:49:50 +0000 (04:49 +0900)] 
Remove unused imports

12 years agolatin1, utf8, fix it
Mike Bayer [Mon, 18 Mar 2013 00:16:19 +0000 (17:16 -0700)] 
latin1, utf8, fix it

12 years agoforce this to innodb to support mysqls with different
Mike Bayer [Tue, 12 Mar 2013 19:43:20 +0000 (15:43 -0400)] 
force this to innodb to support mysqls with different
defaults here

12 years agoAutogenerate will render additional table keyword
Mike Bayer [Tue, 12 Mar 2013 19:34:09 +0000 (15:34 -0400)] 
Autogenerate will render additional table keyword
arguments like "mysql_engine" and others within
op.create_table().
#110

12 years agoFix typo
Charles-Axel Dein [Mon, 11 Mar 2013 01:57:12 +0000 (18:57 -0700)] 
Fix typo

12 years agoAdd head identifier to --head-only option output
Charles-Axel Dein [Mon, 11 Mar 2013 01:54:29 +0000 (18:54 -0700)] 
Add head identifier to --head-only option output

12 years agoAdd --head-only option to current command
Charles-Axel Dein [Wed, 6 Mar 2013 18:31:09 +0000 (10:31 -0800)] 
Add --head-only option to current command

12 years ago- The rendering of any construct during autogenerate
Mike Bayer [Mon, 4 Mar 2013 23:56:50 +0000 (18:56 -0500)] 
- The rendering of any construct during autogenerate
can be customized, in particular to allow special rendering
for user-defined column, constraint subclasses, using new
``render_item`` argument to
:meth:`.EnvironmentContext.configure`.
#108

12 years agoFixed bug whereby create_index()
Mike Bayer [Sat, 16 Feb 2013 01:20:50 +0000 (20:20 -0500)] 
Fixed bug whereby create_index()
would include in the constraint columns that
are added to all Table objects using events,
externally to the generation of the constraint.
This is the same issue that was fixed for unique
constraints in version 0.3.2.

12 years ago- return the same error message as when running on all other pythons
Mike Bayer [Mon, 11 Feb 2013 22:58:06 +0000 (17:58 -0500)] 
- return the same error message as when running on all other pythons
- changelog

12 years agoMerged in niwi/alembic (pull request #27)
Mike Bayer [Mon, 11 Feb 2013 22:33:49 +0000 (17:33 -0500)] 
Merged in niwi/alembic (pull request #27)

Fix unexpected output on exec alembic command without a subcommand.

12 years ago- repair argspec to work with py3k also
Mike Bayer [Mon, 11 Feb 2013 22:19:42 +0000 (17:19 -0500)] 
- repair argspec to work with py3k also
- relying upon SQLA argspec compat here, so let's also bump compatibility
to 0.7.3, as 0.6 is working poorly in any case

12 years ago- move to 0.5.0 as we are making some slight naming changes
Mike Bayer [Mon, 11 Feb 2013 19:37:59 +0000 (14:37 -0500)] 
- move to 0.5.0 as we are making some slight naming changes
- add a generalized approach for renamed kw args, accepting the old
ones using a specialized decorator
- change "tablename" to "table_name" for create_index, drop_index,
drop_constraint
- change "name" to "new_column_name" for alter_column
#104

12 years agoFix unexpected output on exec alembic command without a subcommand.
Andrei Antoukh [Sun, 10 Feb 2013 11:55:23 +0000 (12:55 +0100)] 
Fix unexpected output on exec alembic command without a subcommand.

12 years agook seems we're up to 0.4.3...
Mike Bayer [Mon, 4 Feb 2013 18:44:48 +0000 (13:44 -0500)] 
ok seems we're up to 0.4.3...

12 years ago- get sphinx to render "type_" with the underscore
Mike Bayer [Mon, 4 Feb 2013 18:42:34 +0000 (13:42 -0500)] 
- get sphinx to render "type_" with the underscore
- rename "type" to "type_" in drop_constraint for consistency, leave old name for compat

12 years agoAdded tag rel_0_4_2 for changeset 979a32f8e92c56fd5a0b9ca3e9cb1842290fd84d
Mike Bayer [Fri, 11 Jan 2013 16:17:17 +0000 (11:17 -0500)] 
Added tag rel_0_4_2 for changeset 979a32f8e92c56fd5a0b9ca3e9cb1842290fd84d

12 years ago0.4.2 rel_0_4_2
Mike Bayer [Fri, 11 Jan 2013 16:17:13 +0000 (11:17 -0500)] 
0.4.2

12 years ago2013
Mike Bayer [Fri, 11 Jan 2013 16:12:44 +0000 (11:12 -0500)] 
2013

12 years agoFixed bug where autogenerate would fail if a Column
Mike Bayer [Fri, 11 Jan 2013 05:52:18 +0000 (00:52 -0500)] 
Fixed bug where autogenerate would fail if a Column
to be added to a table made use of the ".key" paramter.
#99

12 years agoThe "implicit" constraint generated by a
Mike Bayer [Thu, 10 Jan 2013 21:20:57 +0000 (16:20 -0500)] 
The "implicit" constraint generated by a
type such as Boolean or Enum will not generate an
ALTER statement when run on SQlite, which does not
support ALTER for the purpose of adding/removing
constraints separate from the column def itself.
While SQLite supports adding a CHECK constraint
at the column level, SQLAlchemy would need modification
to support this.
A warning is emitted indicating this
constraint cannot be added in this scenario.
#98

12 years agofix changelog formatting
Mike Bayer [Sat, 5 Jan 2013 18:27:29 +0000 (13:27 -0500)] 
fix changelog formatting

12 years agoremove this echo
Mike Bayer [Sat, 5 Jan 2013 17:15:07 +0000 (12:15 -0500)] 
remove this echo

12 years ago- add workaround to setup.py to avoid setuptools issue regarding multiprocessing
Mike Bayer [Sat, 5 Jan 2013 17:13:28 +0000 (12:13 -0500)] 
- add workaround to setup.py to avoid setuptools issue regarding multiprocessing
when "setup.py test" is run, #96
- add version detection for 0.8, apply this version detection to
test_autogenerate:AutogenRenderTest.test_render_fk_constraint_kwarg
and emit explicit append_constraint() for each FK if not on 0.8 as FKs
do not auto-attach in 0.7, #96
- add a README containing instructions for running tests and setting up
optional database backens, #96

12 years agoAdded tag rel_0_4_1 for changeset a52b54b339b971b1376a55176c9c58a985b21739
Mike Bayer [Sun, 9 Dec 2012 22:11:58 +0000 (17:11 -0500)] 
Added tag rel_0_4_1 for changeset a52b54b339b971b1376a55176c9c58a985b21739

12 years ago0.4.1 release date rel_0_4_1
Mike Bayer [Sun, 9 Dec 2012 22:10:34 +0000 (17:10 -0500)] 
0.4.1 release date

12 years agoupdate sqla links for 0.8 docs
Mike Bayer [Sun, 9 Dec 2012 22:08:16 +0000 (17:08 -0500)] 
update sqla links for 0.8 docs

12 years agoAdded support for autogenerate render of
Mike Bayer [Wed, 5 Dec 2012 20:36:45 +0000 (15:36 -0500)] 
Added support for autogenerate render of
ForeignKeyConstraint options onupdate,
ondelete, initially, and deferred.
#92

12 years agoAutogenerate will include "autoincrement=False"
Mike Bayer [Wed, 5 Dec 2012 18:54:25 +0000 (13:54 -0500)] 
Autogenerate will include "autoincrement=False"
in the rendered table metadata
if this flag was set to false on the source
:class:`.Column` object.
#94

12 years agoadda test for create table w no pk
Mike Bayer [Fri, 30 Nov 2012 23:44:42 +0000 (18:44 -0500)] 
adda test for create table w no pk

12 years agoFix a typo in the README.
David Ripton [Mon, 29 Oct 2012 16:32:37 +0000 (12:32 -0400)] 
Fix a typo in the README.

12 years agosee what the link thing looks like here
Mike Bayer [Sun, 21 Oct 2012 23:30:35 +0000 (19:30 -0400)] 
see what the link thing looks like here

12 years agomove the changelog to the new changelog extension
Mike Bayer [Sun, 21 Oct 2012 01:13:47 +0000 (21:13 -0400)] 
move the changelog to the new changelog extension

12 years agoFix bug with minute component in file_template and make sure it is tested correctly
Daniel Haaker [Sat, 20 Oct 2012 22:08:58 +0000 (00:08 +0200)] 
Fix bug with minute component in file_template and make sure it is tested correctly

12 years ago- [bug] Removed erroneous "emit_events" attribute
Mike Bayer [Sat, 20 Oct 2012 20:06:13 +0000 (16:06 -0400)] 
- [bug] Removed erroneous "emit_events" attribute
  from operations.create_table() documentation.
  #81

12 years ago- add a section on how to render types, #78
Mike Bayer [Thu, 18 Oct 2012 16:30:50 +0000 (12:30 -0400)] 
- add a section on how to render types, #78

12 years ago- [feature] Explicit error message describing the case
Mike Bayer [Thu, 18 Oct 2012 16:08:45 +0000 (12:08 -0400)] 
- [feature] Explicit error message describing the case
  when downgrade --sql is used without specifying
  specific start/end versions. #66

12 years agoAdded tag rel_0_4_0 for changeset 03481917469dde2be467c352232cc38999c50507
Mike Bayer [Tue, 2 Oct 2012 00:22:29 +0000 (20:22 -0400)] 
Added tag rel_0_4_0 for changeset 03481917469dde2be467c352232cc38999c50507

12 years ago- more foreign key stuff rel_0_4_0
Mike Bayer [Mon, 1 Oct 2012 21:12:03 +0000 (17:12 -0400)] 
- more foreign key stuff

12 years ago- add schema here to the FK
Mike Bayer [Mon, 1 Oct 2012 20:00:30 +0000 (16:00 -0400)] 
- add schema here to the FK

12 years ago- for 0.4, we'll remove the "upgrading" 0.1,0.2,0.3 sections, these were very early...
Mike Bayer [Sun, 30 Sep 2012 20:45:20 +0000 (16:45 -0400)] 
- for 0.4, we'll remove the "upgrading" 0.1,0.2,0.3 sections, these were very early versions
- include sqla 0.7 or 0.8 as recommended

12 years ago- [feature] Support for tables in alternate schemas
Mike Bayer [Sun, 30 Sep 2012 18:57:11 +0000 (14:57 -0400)] 
- [feature] Support for tables in alternate schemas
  has been added fully to all operations, as well as to
  the autogenerate feature.  When using autogenerate,
  specifying the flag include_schemas=True to
  Environment.configure() will also cause autogenerate
  to scan all schemas located by Inspector.get_schema_names(),
  which is supported by *some* (but not all)
  SQLAlchemy dialects including Postgresql.
  *Enormous* thanks to Bruno Binet for a huge effort
  in implementing as well as writing tests.  #33.

12 years ago- merge again
Mike Bayer [Sun, 30 Sep 2012 17:23:54 +0000 (13:23 -0400)] 
- merge again

12 years agoMerged in bbinet/alembic (pull request #23)
Mike Bayer [Sun, 30 Sep 2012 17:20:24 +0000 (13:20 -0400)] 
Merged in bbinet/alembic (pull request #23)

12 years ago- test fix here to limit table names located
Mike Bayer [Sun, 30 Sep 2012 17:19:39 +0000 (13:19 -0400)] 
- test fix here to limit table names located

12 years ago- [feature] Added "stdout" option to Config, provides
Mike Bayer [Sun, 30 Sep 2012 17:09:30 +0000 (13:09 -0400)] 
- [feature] Added "stdout" option to Config, provides
  control over where the "print" output of commands like
  "history", "init", "current" etc. are sent.  #43

12 years ago- [bug] Fixed the "multidb" template which was badly out
Mike Bayer [Sun, 30 Sep 2012 16:57:29 +0000 (12:57 -0400)] 
- [bug] Fixed the "multidb" template which was badly out
  of date.   It now generates revision files using
  the configuration to determine the different
  upgrade_<xyz>() methods needed as well, instead of
  needing to hardcode these.  Huge thanks to
  BryceLohr for doing the heavy lifting here.  #71

12 years agoMerged in BryceLohr/alembic (pull request #14)
Mike Bayer [Sun, 30 Sep 2012 16:43:00 +0000 (12:43 -0400)] 
Merged in BryceLohr/alembic (pull request #14)

12 years ago- [bug] Fixed the regexp that was checking for .py files
Mike Bayer [Sun, 30 Sep 2012 16:37:02 +0000 (12:37 -0400)] 
- [bug] Fixed the regexp that was checking for .py files
  in the version directory to allow any .py file through.
  Previously it was doing some kind of defensive checking,
  probably from some early notions of how this directory
  works, that was prohibiting various filename patterns
  such as those which begin with numbers.  #72

12 years ago- call it 0.4.0
Mike Bayer [Sun, 30 Sep 2012 16:24:43 +0000 (12:24 -0400)] 
- call it 0.4.0
- [feature] The command line runner has been organized
  into a reusable CommandLine object, so that other
  front-ends can re-use the argument parsing built
  in.  #70

12 years agoadd support of schemas for autogenerate
Bruno Binet [Wed, 26 Sep 2012 22:11:01 +0000 (00:11 +0200)] 
add support of schemas for autogenerate

for some reasons one of the new tests fails

12 years agodo not fail when compare_server_default compares None values
Bruno Binet [Wed, 26 Sep 2012 22:08:28 +0000 (00:08 +0200)] 
do not fail when compare_server_default compares None values

12 years agoimport sqlalchemy.schema as sa_schema: s/schema/sa_schema/
Bruno Binet [Tue, 25 Sep 2012 21:33:46 +0000 (23:33 +0200)] 
import sqlalchemy.schema as sa_schema: s/schema/sa_schema/

(so that next patch is more readable)

12 years agoalways pass schema name as a separate parameter
Bruno Binet [Tue, 25 Sep 2012 21:11:17 +0000 (23:11 +0200)] 
always pass schema name as a separate parameter

12 years agoadd schema support for add/drop constraints and indexes
Bruno Binet [Mon, 24 Sep 2012 21:24:32 +0000 (23:24 +0200)] 
add schema support for add/drop constraints and indexes

12 years agoadd schema support for add_column, drop_column, alter_column, drop_table operations
Bruno Binet [Sat, 22 Sep 2012 21:02:34 +0000 (23:02 +0200)] 
add schema support for add_column, drop_column, alter_column, drop_table operations

12 years agoimport sqlalchemy.schema as sa_schema: s/schema/sa_schema/
Bruno Binet [Sat, 22 Sep 2012 20:54:34 +0000 (22:54 +0200)] 
import sqlalchemy.schema as sa_schema: s/schema/sa_schema/

(so that next patch is more readable)

12 years ago- changelog + support for remove autoinc
Mike Bayer [Thu, 23 Aug 2012 01:43:45 +0000 (21:43 -0400)] 
- changelog + support for remove autoinc

12 years ago- tests for pull request #21
Mike Bayer [Thu, 23 Aug 2012 01:33:10 +0000 (21:33 -0400)] 
- tests for pull request #21

12 years agoMerged in moriyoshi/alembic/bugfix/autoincrement_for_mysql_alter_column (pull request...
Mike Bayer [Thu, 23 Aug 2012 01:14:46 +0000 (21:14 -0400)] 
Merged in moriyoshi/alembic/bugfix/autoincrement_for_mysql_alter_column (pull request #21)

12 years ago- add a test for #15
Mike Bayer [Thu, 23 Aug 2012 01:07:44 +0000 (21:07 -0400)] 
- add a test for #15

12 years ago- [bug] Fixed MySQL rendering for server_default which
Mike Bayer [Thu, 23 Aug 2012 01:02:48 +0000 (21:02 -0400)] 
- [bug] Fixed MySQL rendering for server_default which
  didn't work if the server_default was a generated
  SQL expression.  Courtesy Moriyoshi Koizumi.

12 years agoMerged in moriyoshi/alembic/bugfix/typed_default_value (pull request #20)
Mike Bayer [Thu, 23 Aug 2012 01:00:40 +0000 (21:00 -0400)] 
Merged in moriyoshi/alembic/bugfix/typed_default_value (pull request #20)

12 years agoAdded tag rel_0_3_6 for changeset c972e816befb38466196d89eead2e2bc55f1afae
Mike Bayer [Wed, 15 Aug 2012 23:11:29 +0000 (19:11 -0400)] 
Added tag rel_0_3_6 for changeset c972e816befb38466196d89eead2e2bc55f1afae

12 years ago- [feature] Added include_symbol option to rel_0_3_6
Mike Bayer [Wed, 15 Aug 2012 19:33:52 +0000 (15:33 -0400)] 
- [feature] Added include_symbol option to
  EnvironmentContext.configure(),
  specifies a callable which will include/exclude tables
  in their entirety from the autogeneration process
  based on name.  #27

12 years agowhitespace removal
Mike Bayer [Wed, 15 Aug 2012 19:30:28 +0000 (15:30 -0400)] 
whitespace removal

13 years ago- add a test for Enum repr() - requires SQLA 0.7.9 or 0.8
Mike Bayer [Wed, 8 Aug 2012 23:45:13 +0000 (19:45 -0400)] 
- add a test for Enum repr() - requires SQLA 0.7.9 or 0.8

13 years ago- [bug] Improved error message when specifiying
Mike Bayer [Wed, 8 Aug 2012 15:12:04 +0000 (11:12 -0400)] 
- [bug] Improved error message when specifiying
  non-ordered revision identifiers to cover
  the case when the "higher" rev is None,
  improved message overall.  #66

13 years ago- [bug] Repaired create_foreign_key() for
Mike Bayer [Sat, 4 Aug 2012 11:18:01 +0000 (07:18 -0400)] 
- [bug] Repaired create_foreign_key() for
  self-referential foreign keys, which weren't working
  at all.

13 years agothe name shouldn't be needed here
Mike Bayer [Sat, 28 Jul 2012 11:30:29 +0000 (07:30 -0400)] 
the name shouldn't be needed here

13 years ago- [bug] Fixes made to the constraints created/dropped
Mike Bayer [Sat, 28 Jul 2012 11:26:13 +0000 (07:26 -0400)] 
- [bug] Fixes made to the constraints created/dropped
  alongside so-called "schema" types such as
  Boolean and Enum.  The create/drop constraint logic
  does not kick in when using a dialect that doesn't
  use constraints for these types, such as postgresql,
  even when existing_type is specified to
  alter_column().  Additionally, the constraints
  are not affected if existing_type is passed but
  type_ is not, i.e. there's no net change
  in type.  #62

13 years ago- [bug] 'alembic' command reports an informative
Mike Bayer [Sat, 28 Jul 2012 10:48:16 +0000 (06:48 -0400)] 
- [bug] 'alembic' command reports an informative
  error message when the configuration is missing
  the 'script_directory' key.  #63

13 years ago- [feature] Added --sql argument to the "revision" command,
Mike Bayer [Sat, 28 Jul 2012 10:29:26 +0000 (06:29 -0400)] 
- [feature] Added --sql argument to the "revision" command,
  for the use case where the "revision_environment"
  config option is being used but SQL access isn't
  desired.

13 years agoSupport autoincrement and existing_autoincrement in alter_column for MySQL dialect.
Moriyoshi Koizumi [Tue, 24 Jul 2012 16:42:15 +0000 (01:42 +0900)] 
Support autoincrement and existing_autoincrement in alter_column for MySQL dialect.

It'd be impossible to alter an autoincremented column without this extension.

13 years agoRender the default value in the way it correctly reflects the type of the original...
Moriyoshi Koizumi [Tue, 24 Jul 2012 16:24:14 +0000 (01:24 +0900)] 
Render the default value in the way it correctly reflects the type of the original value.

This is needed to deal with the case where the coercing isn't supposed to work, as follows:

mysql> CREATE TABLE foo (t1 TIMESTAMP DEFAULT '0');
ERROR 1067 (42000): Invalid default value for 't1'

13 years agochanged config.main to accept prog as argument
Edward Stone [Wed, 18 Jul 2012 12:21:42 +0000 (13:21 +0100)] 
changed config.main to accept prog as argument

13 years ago- sublime blowing away trailing space
Mike Bayer [Tue, 17 Jul 2012 23:01:06 +0000 (19:01 -0400)] 
- sublime blowing away trailing space
- changelog
- fix this test
- fix docs for new mysql 'primary'

13 years agoadded drop primary key constraint
ergo [Tue, 17 Jul 2012 22:35:08 +0000 (00:35 +0200)] 
added drop primary key constraint

13 years ago- Added year, month, day, hour, minute, second
Mike Bayer [Wed, 11 Jul 2012 15:12:55 +0000 (11:12 -0400)] 
- Added year, month, day, hour, minute, second
  variables to file_template.  #59

13 years agomore edits
Mike Bayer [Sun, 8 Jul 2012 22:45:10 +0000 (18:45 -0400)] 
more edits

13 years agorevise the readme re: sqlite
Mike Bayer [Sun, 8 Jul 2012 22:39:18 +0000 (18:39 -0400)] 
revise the readme re: sqlite

13 years agodrat, we're beta
Mike Bayer [Sun, 8 Jul 2012 22:29:49 +0000 (18:29 -0400)] 
drat, we're beta

13 years agoAdded tag rel_0_3_5 for changeset 64f6a6a584eedb8f5d8227656e94b80a022e525e
Mike Bayer [Sun, 8 Jul 2012 22:25:03 +0000 (18:25 -0400)] 
Added tag rel_0_3_5 for changeset 64f6a6a584eedb8f5d8227656e94b80a022e525e

13 years agopep8 rel_0_3_5
Mike Bayer [Sun, 8 Jul 2012 18:15:06 +0000 (14:15 -0400)] 
pep8

13 years ago- [bug] Fixed issue whereby when autogenerate would
Mike Bayer [Sun, 8 Jul 2012 18:10:39 +0000 (14:10 -0400)] 
- [bug] Fixed issue whereby when autogenerate would
  render create_table() on the upgrade side for a
  table that has a Boolean type, an unnecessary
  CheckConstraint() would be generated. #58

- [feature] Implemented SQL rendering for
  CheckConstraint() within autogenerate upgrade,
  including for literal SQL as well as SQL Expression
  Language expressions.

13 years agosome trailing whitespace removal which autogenerate tests are particularly sensitive...
Mike Bayer [Sun, 8 Jul 2012 16:53:50 +0000 (12:53 -0400)] 
some trailing whitespace removal which autogenerate tests are particularly sensitive towards

13 years agodocument that we're using server_default, #56
Mike Bayer [Wed, 27 Jun 2012 11:38:52 +0000 (07:38 -0400)] 
document that we're using server_default, #56

13 years ago- apply repr() to server default string, #31
Mike Bayer [Sat, 23 Jun 2012 16:24:33 +0000 (12:24 -0400)] 
- apply repr() to server default string, #31

13 years agoAdded tag rel_0_3_4 for changeset 9e213ed2921cf0be75a61a05401320eb8b75a332
Mike Bayer [Sun, 3 Jun 2012 00:06:48 +0000 (20:06 -0400)] 
Added tag rel_0_3_4 for changeset 9e213ed2921cf0be75a61a05401320eb8b75a332

13 years ago- repair entirely broken revision_environment feature released in 0.3.3 rel_0_3_4
Mike Bayer [Sun, 3 Jun 2012 00:06:21 +0000 (20:06 -0400)] 
- repair entirely broken revision_environment feature released in 0.3.3
- its beta

13 years agoAdded tag rel_0_3_3 for changeset d4094ff7a76cd4438b15242c7c883333235fc0c7
Mike Bayer [Sat, 2 Jun 2012 18:50:28 +0000 (14:50 -0400)] 
Added tag rel_0_3_3 for changeset d4094ff7a76cd4438b15242c7c883333235fc0c7

13 years ago- [feature] New config argument rel_0_3_3
Mike Bayer [Sat, 2 Jun 2012 18:42:09 +0000 (14:42 -0400)] 
- [feature] New config argument
  "revision_environment=true", causes env.py to
  be run unconditionally when the "revision" command
  is run, to support script.py.mako templates with
  dependencies on custom "template_args".

- [feature] Added "template_args" option to configure()
  so that an env.py can add additional arguments
  to the template context when running the
  "revision" command.  This requires either --autogenerate
  or the configuration directive "revision_environment=true".

13 years ago- [bug] Fixed bug whereby directories inside of
Mike Bayer [Sun, 20 May 2012 13:51:28 +0000 (09:51 -0400)] 
- [bug] Fixed bug whereby directories inside of
  the template directories, such as __pycache__
  on Pypy, would mistakenly be interpreted as
  files which are part of the template. #49

13 years ago- [feature] Added support for "relative" migration
Mike Bayer [Wed, 16 May 2012 16:16:34 +0000 (12:16 -0400)] 
- [feature] Added support for "relative" migration
  identifiers, i.e. "alembic upgrade +2",
  "alembic downgrade -1".  Courtesy
  Atsushi Odagiri for this feature.

13 years agoMerged revision 6ed983fc075450d874557e81feb0237d7a28a222 from upstream default tip
Bryce Lohr [Tue, 8 May 2012 02:22:02 +0000 (22:22 -0400)] 
Merged revision 6ed983fc075450d874557e81feb0237d7a28a222 from upstream default tip

13 years agoMake version table name configurable.
Jeff Dairiki [Thu, 3 May 2012 20:40:43 +0000 (13:40 -0700)] 
Make version table name configurable.

13 years ago- [bug] Added "type" argument to op.drop_constraint(),
Mike Bayer [Tue, 1 May 2012 15:19:54 +0000 (11:19 -0400)] 
- [bug] Added "type" argument to op.drop_constraint(),
  and implemented full constraint drop support for
  MySQL.  CHECK and undefined raise an error.
  MySQL needs the constraint type
  in order to emit a DROP CONSTRAINT. #44