]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/log
thirdparty/sqlalchemy/alembic.git
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 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

13 years agoAdded tag rel_0_3_2 for changeset 17b7299729fe1ff05e1638d555233875bc21caab
Mike Bayer [Mon, 30 Apr 2012 19:23:32 +0000 (15:23 -0400)] 
Added tag rel_0_3_2 for changeset 17b7299729fe1ff05e1638d555233875bc21caab

13 years ago- [feature] Basic support for Oracle added, rel_0_3_2
Mike Bayer [Mon, 30 Apr 2012 19:17:18 +0000 (15:17 -0400)] 
- [feature] Basic support for Oracle added,
  courtesy shgoh. #40

13 years ago- [bug] Fixed bug whereby create_unique_constraint()
Mike Bayer [Thu, 26 Apr 2012 22:07:06 +0000 (18:07 -0400)] 
- [bug] Fixed bug whereby create_unique_constraint()
  would include in the constraint columns that
  are added to all Table objects using events,
  externally to the generation of the constraint.

13 years ago- [bug] Fixed support of schema-qualified
Mike Bayer [Wed, 25 Apr 2012 15:10:42 +0000 (11:10 -0400)] 
- [bug] Fixed support of schema-qualified
  ForeignKey target in column alter operations,
  courtesy Alexander Kolov.

13 years agoFix parsing foreign key constraints with multiple dots.
Alexander Kolov [Tue, 24 Apr 2012 00:19:03 +0000 (02:19 +0200)] 
Fix parsing foreign key constraints with multiple dots.

13 years ago- [feature] Added support for UniqueConstraint
Mike Bayer [Sat, 21 Apr 2012 14:27:45 +0000 (10:27 -0400)] 
- [feature] Added support for UniqueConstraint
  in autogenerate, courtesy Atsushi Odagiri

13 years ago- [feature] Added support for UniqueConstraint
Mike Bayer [Sat, 21 Apr 2012 14:26:53 +0000 (10:26 -0400)] 
- [feature] Added support for UniqueConstraint
  in autogenerate, courtesy Atsushi Odagiri

13 years agoMerged in aodag/alembic/feature.uniqueconstraint (pull request #10)
Mike Bayer [Sat, 21 Apr 2012 14:17:56 +0000 (10:17 -0400)] 
Merged in aodag/alembic/feature.uniqueconstraint (pull request #10)

13 years agouniqueconstraint
Atsushi Odagiri [Sat, 21 Apr 2012 04:06:49 +0000 (21:06 -0700)] 
uniqueconstraint

13 years agoadd a note specifically about Enum
Mike Bayer [Tue, 17 Apr 2012 14:21:16 +0000 (10:21 -0400)] 
add a note specifically about Enum

13 years agoAdded tag rel_0_3_1 for changeset a7ada78d87aeb7383455b3935457950f1070d4b2
Mike Bayer [Sat, 7 Apr 2012 22:01:59 +0000 (18:01 -0400)] 
Added tag rel_0_3_1 for changeset a7ada78d87aeb7383455b3935457950f1070d4b2

13 years ago- [bug] bulk_insert() fixes: rel_0_3_1
Mike Bayer [Sat, 7 Apr 2012 22:00:42 +0000 (18:00 -0400)] 
- [bug] bulk_insert() fixes:

    1. bulk_insert() operation was
       not working most likely since the 0.2 series
       when used with an engine. #41
    2. Repaired bulk_insert() to complete when
       used against a lower-case-t table and executing
       with only one set of parameters, working
       around SQLAlchemy bug #2461 in this regard.
    3. bulk_insert() uses "inline=True" so that phrases
       like RETURNING and such don't get invoked for
       single-row bulk inserts.
    4. bulk_insert() will check that you're passing
       a list of dictionaries in, raises TypeError
       if not detected.

13 years agoAdded tag rel_0_3_0 for changeset 8332e56a18e30ebc5c74bf782f6ad42d14ea9814
Mike Bayer [Thu, 5 Apr 2012 17:40:04 +0000 (13:40 -0400)] 
Added tag rel_0_3_0 for changeset 8332e56a18e30ebc5c74bf782f6ad42d14ea9814

13 years ago- move to 0.3 as we are changing API rel_0_3_0
Mike Bayer [Thu, 5 Apr 2012 17:33:37 +0000 (13:33 -0400)] 
- move to 0.3 as we are changing API
- [general] The focus of 0.3 is to clean up
  and more fully document the public API of Alembic,
  including better accessors on the MigrationContext
  and ScriptDirectory objects.  Methods that are
  not considered to be public on these objects have
  been underscored, and methods which should be public
  have been cleaned up and documented, including:

    MigrationContext.get_current_revision()
    ScriptDirectory.iterate_revisions()
    ScriptDirectory.get_current_head()
    ScriptDirectory.get_heads()
    ScriptDirectory.get_base()
    ScriptDirectory.generate_revision()

- [feature] Added a bit of autogenerate to the
  public API in the form of the function
  alembic.autogenerate.compare_metadata.

13 years agoAdded tag rel_0_2_2 for changeset 494191413c80a01a7156fbe5fc6788d269e5e9ed
Mike Bayer [Wed, 4 Apr 2012 17:24:18 +0000 (13:24 -0400)] 
Added tag rel_0_2_2 for changeset 494191413c80a01a7156fbe5fc6788d269e5e9ed

13 years agocopy immutabledict here to remove dependency on sqla 0.7, [#36] rel_0_2_2
Mike Bayer [Tue, 13 Mar 2012 04:59:22 +0000 (21:59 -0700)] 
copy immutabledict here to remove dependency on sqla 0.7, [#36]

13 years ago- changelog
Mike Bayer [Tue, 13 Mar 2012 04:55:43 +0000 (21:55 -0700)] 
- changelog
- import OrderedSet from sqlalchemy.util

13 years agoAutogenerate now orders tables correctly. Dependency tables now appear before their...
jayd3e [Tue, 13 Mar 2012 01:24:11 +0000 (18:24 -0700)] 
Autogenerate now orders tables correctly.  Dependency tables now appear before their dependant tables.  Also added the respective tests.

13 years ago- [bug] Fixed inappropriate direct call to
Mike Bayer [Tue, 28 Feb 2012 16:27:04 +0000 (11:27 -0500)] 
- [bug] Fixed inappropriate direct call to
  util.err() and therefore sys.exit()
  when Config failed to locate the
  config file within library usage.
  [#35]

13 years ago- [bug] implement 'tablename' parameter on
Mike Bayer [Tue, 28 Feb 2012 16:21:07 +0000 (11:21 -0500)] 
- [bug] implement 'tablename' parameter on
  drop_index() as this is needed by some
  backends.

- [feature] Added execution_options parameter
  to op.execute(), will call execution_options()
  on the Connection before executing.

  The immediate use case here is to allow
  access to the new no_parameters option
  in SQLAlchemy 0.7.6, which allows
  some DBAPIs (psycopg2, MySQLdb) to allow
  percent signs straight through without
  escaping, thus providing cross-compatible
  operation with DBAPI execution and
  static script generation.

13 years agofix spelling
Felix Schwarz [Wed, 22 Feb 2012 22:53:10 +0000 (23:53 +0100)] 
fix spelling

13 years ago- [feature] Informative error message when op.XYZ
Mike Bayer [Mon, 13 Feb 2012 22:14:03 +0000 (17:14 -0500)] 
- [feature] Informative error message when op.XYZ
  directives are invoked at module import time.

13 years agomerge
Mike Bayer [Sun, 12 Feb 2012 23:10:18 +0000 (18:10 -0500)] 
merge

13 years ago- [bug] drop_index() ensures a dummy column
Mike Bayer [Sun, 12 Feb 2012 22:41:27 +0000 (17:41 -0500)] 
- [bug] drop_index() ensures a dummy column
  is added when it calls "Index", as SQLAlchemy
  0.7.6 will warn on index with no column names.

13 years agoMerged in marcinkuzminski/alembic (pull request #7)
Mike Bayer [Thu, 9 Feb 2012 17:51:58 +0000 (12:51 -0500)] 
Merged in marcinkuzminski/alembic (pull request #7)

13 years agofixed typo
Marcin Kuzminski [Wed, 8 Feb 2012 23:02:16 +0000 (01:02 +0200)] 
fixed typo

13 years agochangelog
Mike Bayer [Wed, 8 Feb 2012 17:51:27 +0000 (12:51 -0500)] 
changelog

13 years agoMerged in marcinkuzminski/alembic (pull request #5)
Mike Bayer [Wed, 8 Feb 2012 17:48:46 +0000 (12:48 -0500)] 
Merged in marcinkuzminski/alembic (pull request #5)

13 years agotemplates pep8 E302 2 blank lines between functions
Marcin Kuzminski [Wed, 8 Feb 2012 17:43:48 +0000 (19:43 +0200)] 
templates pep8 E302 2 blank lines between functions

13 years agoshow message for pylons template where to explicitly define engine for usage in migra...
Marcin Kuzminski [Wed, 8 Feb 2012 17:42:38 +0000 (19:42 +0200)] 
show message for pylons template where to explicitly define engine for usage in migrations

13 years agochangelog
Mike Bayer [Wed, 8 Feb 2012 17:26:54 +0000 (12:26 -0500)] 
changelog

13 years agoAdded optional onupdate and ondelete params to Operations.create_check_constraint
Giacomo Bagnoli [Wed, 8 Feb 2012 16:58:46 +0000 (17:58 +0100)] 
Added optional onupdate and ondelete params to Operations.create_check_constraint

13 years ago- [feature] script_location can be interpreted
Mike Bayer [Wed, 8 Feb 2012 05:30:14 +0000 (00:30 -0500)] 
- [feature] script_location can be interpreted
  by pkg_resources.resource_filename(), if
  it is a non-absolute URI that contains
  colons.   This scheme is the same
  one used by Pyramid.  [#29]

13 years agofixed error message on empty target_metadata _script undefined
Marcin Kuzminski [Wed, 8 Feb 2012 03:48:31 +0000 (05:48 +0200)] 
fixed error message on empty target_metadata _script undefined

13 years agotry to get engine from Base if it's defined
Marcin Kuzminski [Wed, 8 Feb 2012 03:40:51 +0000 (05:40 +0200)] 
try to get engine from Base if it's defined

13 years agofixed #30 and some other issues with pylons template
Marcin Kuzminski [Wed, 8 Feb 2012 03:34:21 +0000 (05:34 +0200)] 
fixed #30 and some other issues with pylons template

13 years ago- update version + CHANGES for rff49b7fe01b4
Mike Bayer [Fri, 3 Feb 2012 14:51:53 +0000 (09:51 -0500)] 
- update version + CHANGES for rff49b7fe01b4

13 years agoMerged in aodag/alembic/fix.argparse (pull request #4)
Mike Bayer [Fri, 3 Feb 2012 14:50:31 +0000 (09:50 -0500)] 
Merged in aodag/alembic/fix.argparse (pull request #4)

13 years agofix for unneccesary require to argparse
aodag [Fri, 3 Feb 2012 14:25:27 +0000 (23:25 +0900)] 
fix for unneccesary require to argparse

13 years agobranch for argparse
aodag [Fri, 3 Feb 2012 13:40:16 +0000 (22:40 +0900)] 
branch for argparse

13 years agoAdded tag rel_0_2_1 for changeset 87ab39a74dcf49dd7cabe55b89d37758a2104001
Mike Bayer [Tue, 31 Jan 2012 15:11:35 +0000 (10:11 -0500)] 
Added tag rel_0_2_1 for changeset 87ab39a74dcf49dd7cabe55b89d37758a2104001

13 years ago- forgot to push the tag rel_0_2_1
Mike Bayer [Tue, 31 Jan 2012 15:10:37 +0000 (10:10 -0500)] 
- forgot to push the tag

13 years ago- [bug] Fixed the generation of CHECK constraint,
Mike Bayer [Tue, 31 Jan 2012 15:08:12 +0000 (10:08 -0500)] 
- [bug] Fixed the generation of CHECK constraint,
  regression from 0.2.0 [#26]

13 years agoAdded tag rel_0_2_0 for changeset 0bf3fe8f6f089f6023f3917ce8faa050ad0b79b0
Mike Bayer [Mon, 30 Jan 2012 19:36:55 +0000 (14:36 -0500)] 
Added tag rel_0_2_0 for changeset 0bf3fe8f6f089f6023f3917ce8faa050ad0b79b0

13 years agofix docstring references rel_0_2_0
Mike Bayer [Mon, 30 Jan 2012 19:34:37 +0000 (14:34 -0500)] 
fix docstring references

13 years agofix long lines
Mike Bayer [Mon, 30 Jan 2012 19:22:32 +0000 (14:22 -0500)] 
fix long lines

13 years agomerge this together
Mike Bayer [Mon, 30 Jan 2012 18:57:04 +0000 (13:57 -0500)] 
merge this together

13 years agocut off the slug length at 20 chars
Mike Bayer [Mon, 30 Jan 2012 18:03:43 +0000 (13:03 -0500)] 
cut off the slug length at 20 chars

13 years agolets put a doc note here for now since everyone is going to get this issue
Mike Bayer [Mon, 30 Jan 2012 17:54:16 +0000 (12:54 -0500)] 
lets put a doc note here for now since everyone is going to get this issue

13 years agoadd docs for the standalone ops use case
Mike Bayer [Mon, 30 Jan 2012 17:36:10 +0000 (12:36 -0500)] 
add docs for the standalone ops use case

13 years ago- add test coverage for standalone MigrationContext / Operations
Mike Bayer [Mon, 30 Jan 2012 17:31:08 +0000 (12:31 -0500)] 
- add test coverage for standalone MigrationContext / Operations
- ensure MigrationContext.configure can be used with a single connection
argument

13 years agoturn alembic.op and alembic.context into real proxy modules,
Mike Bayer [Thu, 26 Jan 2012 20:43:57 +0000 (15:43 -0500)] 
turn alembic.op and alembic.context into real proxy modules,
with an accurate system of reflecting the Operations and
EnvironmentContext methods into them.

13 years ago- [bug] env.py templates call
Mike Bayer [Thu, 26 Jan 2012 15:21:25 +0000 (10:21 -0500)] 
- [bug] env.py templates call
  connection.close() to better support
  programmatic usage of commands; use
  NullPool in conjunction with create_engine()
  as well so that no connection resources
  remain afterwards.  [#25]

13 years agomerge whatever
Mike Bayer [Tue, 24 Jan 2012 23:43:52 +0000 (18:43 -0500)] 
merge whatever

13 years agouse newer url
Mike Bayer [Tue, 24 Jan 2012 23:42:55 +0000 (18:42 -0500)] 
use newer url

13 years agomore fixes for rev ids
Mike Bayer [Tue, 24 Jan 2012 23:37:19 +0000 (18:37 -0500)] 
more fixes for rev ids

13 years agoremove erroneous pdb
Mike Bayer [Tue, 24 Jan 2012 23:30:07 +0000 (18:30 -0500)] 
remove erroneous pdb

13 years ago- tried it out in my work project, and realized the "op" and "context" namespaces
Mike Bayer [Tue, 24 Jan 2012 23:10:34 +0000 (18:10 -0500)] 
- tried it out in my work project, and realized the "op" and "context" namespaces
need to be there fully and in particular "context" needs to be
a proxy object, as env.py may have dependencies which live beyond the
scope of the migration script.   Will have to try to make
these proxies as straightforward as possible.
- more architecture docs

13 years agodocumentation including an API diagram
Mike Bayer [Tue, 24 Jan 2012 22:20:28 +0000 (17:20 -0500)] 
documentation including an API diagram