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

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 agoUpdated multidb env.py to use standard logger instead of direct stderr output and...
Bryce Lohr [Fri, 27 Apr 2012 15:55:29 +0000 (11:55 -0400)] 
Updated multidb env.py to use standard logger instead of direct stderr output and added some progress messages indicating which database is being migrated.

13 years agoUpdated the 'revision' command to pass the current Alembic config to the script templ...
Bryce Lohr [Fri, 27 Apr 2012 04:47:14 +0000 (00:47 -0400)] 
Updated the 'revision' command to pass the current Alembic config to the script templates, so it could use it to generate blocks based on current config. Useful for multidb configurations, where you want each database accounted for in the migrations.

13 years agoFixed engine name arg names as used in script template.
Bryce Lohr [Fri, 27 Apr 2012 04:06:14 +0000 (00:06 -0400)] 
Fixed engine name arg names as used in script template.

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 agoFixed kwarg passed in to multidb version scripts to reflect that it's the name, not...
Bryce Lohr [Thu, 26 Apr 2012 02:50:55 +0000 (22:50 -0400)] 
Fixed kwarg passed in to multidb version scripts to reflect that it's the name, not the engine object, that gets passed in. Fixed the downgrade side of the multidb env.py template.

13 years agoAdded missing 'execution_options' kwarg that only appeared to be used from the multid...
Bryce Lohr [Thu, 26 Apr 2012 02:30:32 +0000 (22:30 -0400)] 
Added missing 'execution_options' kwarg that only appeared to be used from the multidb template.

13 years agoUpdated multidb template's env.py to be closer to generic's. Fixed invalid reference...
Bryce Lohr [Thu, 26 Apr 2012 02:12:34 +0000 (22:12 -0400)] 
Updated multidb template's env.py to be closer to generic's. Fixed invalid reference to options, fixed SQL comment to be MySQL-safe

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