]> git.ipfire.org Git - thirdparty/sqlalchemy/alembic.git/log
thirdparty/sqlalchemy/alembic.git
13 years agouse newer url rel_0_1 gh/rel_0_1
Mike Bayer [Tue, 24 Jan 2012 23:43:31 +0000 (18:43 -0500)] 
use newer url

13 years agocreated 0.1 branch
Mike Bayer [Tue, 24 Jan 2012 23:12:28 +0000 (18:12 -0500)] 
created 0.1 branch

13 years agothe "stamp" command by itself does not set up "starting_rev"
Mike Bayer [Tue, 24 Jan 2012 17:03:41 +0000 (12:03 -0500)] 
the "stamp" command by itself does not set up "starting_rev"

13 years ago- [feature] Can create alembic.config.Config
Mike Bayer [Fri, 20 Jan 2012 21:23:20 +0000 (16:23 -0500)] 
- [feature] Can create alembic.config.Config
  with no filename, use set_main_option()
  to add values.  Also added set_section_option()
  which will add sections.  [#23]

13 years ago- [bug] Fixed alteration of column type on
Mike Bayer [Fri, 20 Jan 2012 20:25:30 +0000 (15:25 -0500)] 
- [bug] Fixed alteration of column type on
  MSSQL to not include the keyword "TYPE".

13 years ago- [bug] fix the config.main() function to honor
Mike Bayer [Fri, 20 Jan 2012 18:42:13 +0000 (13:42 -0500)] 
- [bug] fix the config.main() function to honor
  the arguments passed, remove no longer used
  "scripts/alembic" as setuptools creates this
  for us.  [#22]

13 years agomore manifest
Mike Bayer [Sun, 8 Jan 2012 18:43:38 +0000 (13:43 -0500)] 
more manifest

13 years agoneed to include the .rst files in the manifest
Mike Bayer [Sun, 8 Jan 2012 18:38:36 +0000 (13:38 -0500)] 
need to include the .rst files in the manifest

13 years agonew year
Mike Bayer [Thu, 5 Jan 2012 01:17:24 +0000 (20:17 -0500)] 
new year

13 years agoAdded tag rel_0_1_1 for changeset d76a1bea49a29822000254ec26926de1187c1d1d
Mike Bayer [Thu, 5 Jan 2012 01:12:32 +0000 (20:12 -0500)] 
Added tag rel_0_1_1 for changeset d76a1bea49a29822000254ec26926de1187c1d1d

13 years agochangelog rel_0_1_1
Mike Bayer [Thu, 5 Jan 2012 01:07:44 +0000 (20:07 -0500)] 
changelog

13 years agoColumn names were not wrapped in quotes when autogenerating a ForeignKeyConstraint.
Samuel Rayment [Wed, 4 Jan 2012 23:15:31 +0000 (23:15 +0000)] 
Column names were not wrapped in quotes when autogenerating a ForeignKeyConstraint.

13 years agofix #20
Mike Bayer [Tue, 3 Jan 2012 16:54:54 +0000 (11:54 -0500)] 
fix #20

13 years agofix docstring
Mike Bayer [Mon, 2 Jan 2012 22:26:00 +0000 (17:26 -0500)] 
fix docstring

13 years ago- [bug] Default prefix for autogenerate
Mike Bayer [Mon, 2 Jan 2012 22:22:33 +0000 (17:22 -0500)] 
- [bug] Default prefix for autogenerate
  directives is "op.", matching the
  mako templates. [#18]

- [feature] Add alembic_module_prefix argument
  to configure() to complement
  sqlalchemy_module_prefix. [#18]

13 years ago- [bug] Fix bug where create_table() didn't
Mike Bayer [Sun, 1 Jan 2012 16:21:29 +0000 (11:21 -0500)] 
- [bug] Fix bug where create_table() didn't
  handle self-referential foreign key
  correctly [#17]

13 years ago- [bug] Fix autogenerate bug that prevented
Mike Bayer [Wed, 28 Dec 2011 15:36:07 +0000 (10:36 -0500)] 
- [bug] Fix autogenerate bug that prevented
  correct reflection of a foreign-key
  referenced table in the list of "to remove".
  [#16]

13 years agogo back to readthedocs
Mike Bayer [Fri, 23 Dec 2011 16:41:47 +0000 (11:41 -0500)] 
go back to readthedocs

13 years ago- [bug] Fix autogenerate so that "pass" is
Mike Bayer [Tue, 20 Dec 2011 21:10:01 +0000 (16:10 -0500)] 
- [bug] Fix autogenerate so that "pass" is
  generated between the two comments
  if no net migrations were present.

13 years ago- Python 2.5 is supported, needs
Mike Bayer [Sat, 3 Dec 2011 18:36:59 +0000 (13:36 -0500)] 
- Python 2.5 is supported, needs
  __future__.with_statement

13 years agomerge tag
Mike Bayer [Sat, 3 Dec 2011 18:29:45 +0000 (13:29 -0500)] 
merge tag

13 years ago- Clean up file write operations so that
Mike Bayer [Sat, 3 Dec 2011 18:29:05 +0000 (13:29 -0500)] 
- Clean up file write operations so that
  file handles are closed.

- PyPy is supported.

13 years agoAdded tag rel_0_1_0 for changeset 3bf28d1fc3e665ae81baa5e47609840ea6f42142
Mike Bayer [Wed, 30 Nov 2011 20:09:44 +0000 (15:09 -0500)] 
Added tag rel_0_1_0 for changeset 3bf28d1fc3e665ae81baa5e47609840ea6f42142

13 years agomore manifest fix rel_0_1_0
Mike Bayer [Wed, 30 Nov 2011 20:08:49 +0000 (15:08 -0500)] 
more manifest fix

13 years agoadd test.cfg
Mike Bayer [Wed, 30 Nov 2011 20:06:24 +0000 (15:06 -0500)] 
add test.cfg

13 years agoanother detail re: sql server here
Mike Bayer [Wed, 30 Nov 2011 20:04:33 +0000 (15:04 -0500)] 
another detail re: sql server here

13 years agoanother doc bug
Mike Bayer [Wed, 30 Nov 2011 20:01:46 +0000 (15:01 -0500)] 
another doc bug

13 years agofixups
Mike Bayer [Wed, 30 Nov 2011 19:57:31 +0000 (14:57 -0500)] 
fixups

13 years agoswitch to "from alembic import op" as its not
Mike Bayer [Wed, 30 Nov 2011 19:23:03 +0000 (14:23 -0500)] 
switch to "from alembic import op" as its not
a debate worth having...probably clearer too

13 years agodont need the const thing now that the batch separator is in use
Mike Bayer [Wed, 30 Nov 2011 00:37:45 +0000 (19:37 -0500)] 
dont need the const thing now that the batch separator is in use

13 years ago- add alter col default for PG/base
Mike Bayer [Wed, 30 Nov 2011 00:21:58 +0000 (19:21 -0500)] 
- add alter col default for PG/base
- i want the ; after BEGIN/COMMIT for static generation, makes it easier to parse

13 years agoimplement server default, nullability for SQL server
Mike Bayer [Wed, 30 Nov 2011 00:01:31 +0000 (19:01 -0500)] 
implement server default, nullability for SQL server

13 years ago- add mssql_batch_separator for offline mode
Mike Bayer [Tue, 29 Nov 2011 23:24:20 +0000 (18:24 -0500)] 
- add mssql_batch_separator for offline mode
- implement SQL server alter column rules regarding NULL/NOT NULL

13 years ago- implement "start migrations" event for impls
Mike Bayer [Tue, 29 Nov 2011 21:09:13 +0000 (16:09 -0500)] 
- implement "start migrations" event for impls
- implement counter logic for SQL server constraint/default
drop so that variables are declared uniquely within
a full migration run, #12

13 years ago- add begin_transaction() env.py helper. Emits the appropriate
Mike Bayer [Tue, 29 Nov 2011 20:50:35 +0000 (15:50 -0500)] 
- add begin_transaction() env.py helper.  Emits the appropriate
begin/commit pair regardless of context.
- add dialect support for BEGIN/COMMIT working corresponding
to backend.  Add implementation for SQL server.
- add tests for BEGIN/COMMIT , #11
- rework SQL server test suite for more classes of test
- fix test suite to clean up after a prior failed suite

13 years ago- fix some more file()->open() in docs
Mike Bayer [Tue, 29 Nov 2011 19:15:53 +0000 (14:15 -0500)] 
- fix some more file()->open() in docs
- doc updates, corrections
- script uses CommandError consistently

13 years agolink ourselves to the sqla project.
Mike Bayer [Tue, 29 Nov 2011 18:43:55 +0000 (13:43 -0500)] 
link ourselves to the sqla project.

13 years agoreadme updates
Mike Bayer [Tue, 29 Nov 2011 18:42:09 +0000 (13:42 -0500)] 
readme updates

13 years agopython 3 works ! near zero changes needed
Mike Bayer [Tue, 29 Nov 2011 18:10:25 +0000 (13:10 -0500)] 
python 3 works !   near zero changes needed

13 years ago- add test for dialect/impl-specific affinity comparison, #5
Mike Bayer [Tue, 29 Nov 2011 17:43:20 +0000 (12:43 -0500)] 
- add test for dialect/impl-specific affinity comparison, #5

13 years agoreport full path for env.py
Mike Bayer [Tue, 29 Nov 2011 17:35:01 +0000 (12:35 -0500)] 
report full path for env.py

13 years agoenabled automatic script creation (for windows)
melnychuk [Tue, 29 Nov 2011 10:45:37 +0000 (11:45 +0100)] 
enabled automatic script creation (for windows)

13 years agodependencies
Mike Bayer [Tue, 29 Nov 2011 03:48:46 +0000 (22:48 -0500)] 
dependencies

13 years agotypo
Mike Bayer [Tue, 29 Nov 2011 03:38:19 +0000 (22:38 -0500)] 
typo

13 years ago- add version check for at least 06, tests for 07 in selected
Mike Bayer [Tue, 29 Nov 2011 03:29:43 +0000 (22:29 -0500)] 
- add version check for at least 06, tests for 07 in selected
areas
- add "requires 07" decorators to test suite
- add tests for PG ENUM in offline mode.  works in conjunction
with the latest 0.7.4 tip of SQLAlchemy, fixes #9.  Docs will
be needed to illustrate how ENUM should be used.
- add support for table before_create and after_create events
within op.create_table().   Currently this will do the ENUM
thing for PG but will also invoke any other kinds of events
that might get configured on the table.

13 years ago- some test cleanup
Mike Bayer [Mon, 28 Nov 2011 22:11:14 +0000 (17:11 -0500)] 
- some test cleanup
- add support for actual DB connections, test.cfg, etc.
- add PG server default comparison tests, #6

13 years agoadd tests for #7
Mike Bayer [Mon, 28 Nov 2011 21:24:42 +0000 (16:24 -0500)] 
add tests for #7

13 years ago- rename autogenerate_metadata to target_metadata, autogenerate_sqlalchemy_prefix
Mike Bayer [Mon, 28 Nov 2011 20:50:14 +0000 (15:50 -0500)] 
- rename autogenerate_metadata to target_metadata, autogenerate_sqlalchemy_prefix
to sqlalchemy_module_prefix
- add create_check_constraint() directive

13 years agoupdates
Mike Bayer [Mon, 28 Nov 2011 18:58:57 +0000 (13:58 -0500)] 
updates

13 years ago- move comparison of types, server default to the context.
Mike Bayer [Mon, 28 Nov 2011 18:49:58 +0000 (13:49 -0500)] 
- move comparison of types, server default to the context.
PG context in particular does some tricks to help these.
- But since type/default comparison is still loaded with surprises,
particularly the MySQL/MSSQL TINYINT/BIT-> boolean thing which we
can work around but haven't yet, turn both off by default.  They
aren't super useful compared to the huge number of wrong results
they can currently emit.
- Also add a plugin system for type/server default comparison.
- everything works but we're coding way ahead of tests at this
point

13 years agoshare imports among multi runs in one set
Mike Bayer [Mon, 28 Nov 2011 15:15:26 +0000 (10:15 -0500)] 
share imports among multi runs in one set

13 years agosome docs
Mike Bayer [Mon, 28 Nov 2011 07:37:53 +0000 (02:37 -0500)] 
some docs

13 years ago- rework MySQL + autogenerate so that
Mike Bayer [Mon, 28 Nov 2011 07:24:18 +0000 (02:24 -0500)] 
- rework MySQL + autogenerate so that
multiple changes to a single col are collapsed
into one step, will work for other dialects
which may support this too
- add support for "imports" in scripts so
that dialect-specific types can be rendered straight in
from their parent module and work immediately
- rework the internals of autogenerate to be more
succinct, though there's a lot more that could
happen here to make this easier

13 years agoinitial MySQL support, good thing we tried
Mike Bayer [Mon, 28 Nov 2011 05:58:00 +0000 (00:58 -0500)] 
initial MySQL support, good thing we tried
this before releasing

13 years ago- add more caveats to autogen docs
Mike Bayer [Mon, 28 Nov 2011 01:48:30 +0000 (20:48 -0500)] 
- add more caveats to autogen docs
- fix --sql examples to use is_offline_mode(), new env.py
format

13 years ago- use new sa. import in tutorial examples
Mike Bayer [Mon, 28 Nov 2011 01:29:40 +0000 (20:29 -0500)] 
- use new sa. import in tutorial examples
- add an alter column autogen test with an FK constraint

13 years agomore changelog
Mike Bayer [Mon, 28 Nov 2011 01:16:01 +0000 (20:16 -0500)] 
more changelog

13 years agonote about py3k
Mike Bayer [Mon, 28 Nov 2011 01:00:46 +0000 (20:00 -0500)] 
note about py3k

13 years agopg uses DROP NOT NULL, keep this as the default and move
Mike Bayer [Mon, 28 Nov 2011 00:52:24 +0000 (19:52 -0500)] 
pg uses DROP NOT NULL, keep this as the default and move
NULL to SQL Server, until we get more data on other DBs

13 years ago- docs
Mike Bayer [Mon, 28 Nov 2011 00:44:59 +0000 (19:44 -0500)] 
- docs
- note about unicode
- dont need importlater
- use correct type_ kw arg
- log cols/tables/etc as we autogenerate

13 years ago- support for schema types in modify type
Mike Bayer [Mon, 28 Nov 2011 00:05:39 +0000 (19:05 -0500)] 
- support for schema types in modify type
- add known status to CHANGES
- google group
- sa. prefix on modify type in autogenerate
- rename_table

13 years agomake sure type gets the prefix in modify type
Mike Bayer [Sun, 27 Nov 2011 22:48:33 +0000 (17:48 -0500)] 
make sure type gets the prefix in modify type

13 years agomore tests and now its sort of working
Mike Bayer [Sun, 27 Nov 2011 22:43:31 +0000 (17:43 -0500)] 
more tests and now its sort of working

13 years agoOK I did that wrong, not working yet but it will be more like this
Mike Bayer [Sun, 27 Nov 2011 20:23:30 +0000 (15:23 -0500)] 
OK I did that wrong, not working yet but it will be more like this

13 years agoimplement autogenerate feature
Mike Bayer [Sun, 27 Nov 2011 19:56:01 +0000 (14:56 -0500)] 
implement autogenerate feature

13 years ago- support the constraints generated from SchemaType, honoring conditional
Mike Bayer [Thu, 24 Nov 2011 00:27:58 +0000 (19:27 -0500)] 
- support the constraints generated from SchemaType, honoring conditional
rule
- add mssql_drop_default, mssql_drop_check flags to drop_column(),
will emit special MSSQL crap to drop DEFAULT and CHECK constraints based
on inline system table lookup

13 years ago- drop constraint
Mike Bayer [Wed, 23 Nov 2011 22:17:31 +0000 (17:17 -0500)] 
- drop constraint
- ensure table attachment event occurs for unique constraint

13 years agofix
Mike Bayer [Wed, 23 Nov 2011 17:36:34 +0000 (12:36 -0500)] 
fix

13 years agoadd rename column support
Mike Bayer [Wed, 23 Nov 2011 17:10:21 +0000 (12:10 -0500)] 
add rename column support

13 years agoadd front matter
Mike Bayer [Mon, 21 Nov 2011 03:03:09 +0000 (22:03 -0500)] 
add front matter

13 years agogo along with sphinx and put the init params in the class docs
Mike Bayer [Thu, 17 Nov 2011 19:21:27 +0000 (14:21 -0500)] 
go along with sphinx and put the init params in the class docs

13 years ago- new doc theme
Mike Bayer [Thu, 17 Nov 2011 16:48:39 +0000 (11:48 -0500)] 
- new doc theme
- host on packages.python.org

13 years ago- requires_connection() -> is_offline_mode()
Mike Bayer [Wed, 16 Nov 2011 22:15:38 +0000 (17:15 -0500)] 
- requires_connection() -> is_offline_mode()
- move "offline" tranasctional markers to env.py script
- move online/offline sections into separate functions in env.py scripts
- move context initial logging to the __init__ method

13 years ago- add API support for inline literals
Mike Bayer [Tue, 15 Nov 2011 22:17:27 +0000 (17:17 -0500)] 
- add API support for inline literals
- push ad-hoc table/column constructs for CRUD operations
- update docs to more comprehensively describe how to do
CRUD in migrations

13 years ago- add set_main_option to config
Mike Bayer [Tue, 15 Nov 2011 20:02:12 +0000 (15:02 -0500)] 
- add set_main_option to config
- add output_buffer option to config for programmatic output

13 years ago- remove add_constraint, this is not the current philosophy of the op package
Mike Bayer [Tue, 15 Nov 2011 18:07:40 +0000 (13:07 -0500)] 
- remove add_constraint, this is not the current philosophy of the op package
- document most op methods
- add support for create_index, drop_index
- remove needless arguments from drop_table
- propagate arguemnts to UniqueConstraint

13 years agomore typos
Mike Bayer [Tue, 15 Nov 2011 05:43:29 +0000 (00:43 -0500)] 
more typos

13 years agodocs docs docs docs
Mike Bayer [Tue, 15 Nov 2011 05:36:56 +0000 (00:36 -0500)] 
docs docs docs docs

13 years ago- add argparse to install requires
Mike Bayer [Tue, 15 Nov 2011 04:34:17 +0000 (23:34 -0500)] 
- add argparse to install requires
- more docs
- get env.py to work in --sql mode even without the DBAPI installed,
using just the URL
- add get_section_option()

13 years agotweak. im not really happy how logging is used for status here
Mike Bayer [Tue, 15 Nov 2011 00:47:19 +0000 (19:47 -0500)] 
tweak.  im not really happy how logging is used for status here

13 years ago- refactor the migration operations out of context, which
Mike Bayer [Tue, 15 Nov 2011 00:19:11 +0000 (19:19 -0500)] 
- refactor the migration operations out of context, which
mediates at a high level, into ddl/impl, which deals with DB stuff
- fix MSSQL add column, #2

13 years agoremove env-only arguments from context
Mike Bayer [Mon, 14 Nov 2011 23:20:40 +0000 (18:20 -0500)] 
remove env-only arguments from context

13 years agoget env to have all the arguments before and after context is set up
Mike Bayer [Mon, 14 Nov 2011 23:12:04 +0000 (18:12 -0500)] 
get env to have all the arguments before and after context is set up

13 years ago- make start/end arguments available to environments
Mike Bayer [Mon, 14 Nov 2011 22:39:17 +0000 (17:39 -0500)] 
- make start/end arguments available to environments
- more environment functions
- clean up start:end system
- docs

13 years agosome docs
Mike Bayer [Fri, 11 Nov 2011 19:38:33 +0000 (11:38 -0800)] 
some docs

13 years ago- get the "stamp" command to work in as_sql
Mike Bayer [Fri, 11 Nov 2011 18:44:05 +0000 (10:44 -0800)] 
- get the "stamp" command to work in as_sql
- overhaul context + env so that --sql mode truly does
not make any SQL connections of any kind.   The env.py
scripts create the engine and use it as the source of
a "dialect" - the "dialect" is now passed straight to the context.
- more power to env - can set output buffer, transactional ddl flag,
execute SQL via context instead of needing to import op

13 years agofix if no revisions occurred, test coverage
Mike Bayer [Thu, 10 Nov 2011 22:45:03 +0000 (14:45 -0800)] 
fix if no revisions occurred, test coverage

13 years agoclean up the output format
Mike Bayer [Wed, 9 Nov 2011 01:56:13 +0000 (17:56 -0800)] 
clean up the output format

13 years ago- tests for SQL script
Mike Bayer [Wed, 9 Nov 2011 01:48:40 +0000 (17:48 -0800)] 
- tests for SQL script
- link create/drop of version table in SQL mode to the "none" revision
- get downgrades on SQL script to work

13 years agoblurb on auto gen
Mike Bayer [Tue, 8 Nov 2011 22:29:33 +0000 (14:29 -0800)] 
blurb on auto gen

13 years agodocs
Mike Bayer [Tue, 8 Nov 2011 22:22:59 +0000 (14:22 -0800)] 
docs

13 years agodocs
Mike Bayer [Tue, 8 Nov 2011 22:05:37 +0000 (14:05 -0800)] 
docs

13 years agodocs
Mike Bayer [Tue, 8 Nov 2011 20:16:31 +0000 (12:16 -0800)] 
docs

13 years agofix up the README and put it into the pypi register
Mike Bayer [Mon, 3 Oct 2011 19:51:20 +0000 (15:51 -0400)] 
fix up the README and put it into the pypi register

14 years agoformat to 79 char
Mike Bayer [Tue, 28 Jun 2011 17:29:23 +0000 (13:29 -0400)] 
format to 79 char

14 years agowrite the README
Mike Bayer [Tue, 28 Jun 2011 17:25:47 +0000 (13:25 -0400)] 
write the README

14 years agolots of TODOs for straight SQL mode
Mike Bayer [Fri, 22 Apr 2011 16:59:38 +0000 (12:59 -0400)] 
lots of TODOs for straight SQL mode

14 years agoadd a bulk insert feature. probably needs some work
Mike Bayer [Fri, 22 Apr 2011 16:11:20 +0000 (12:11 -0400)] 
add a bulk insert feature.   probably needs some work

14 years ago- get more constraint construct to work, etc.
Mike Bayer [Thu, 21 Apr 2011 23:33:20 +0000 (19:33 -0400)] 
- get more constraint construct to work, etc.
- move all the tests to test_op

14 years ago- implement add_column, drop_column, start thinking about scaling up how we do the...
Mike Bayer [Thu, 21 Apr 2011 21:15:48 +0000 (17:15 -0400)] 
- implement add_column, drop_column, start thinking about scaling up how we do the tests