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

14 years agohere's what im doing with pylons at the moment
Mike Bayer [Tue, 19 Apr 2011 19:16:39 +0000 (15:16 -0400)] 
here's what im doing with pylons at the moment

14 years agoadd a stamp command
Mike Bayer [Tue, 19 Apr 2011 18:10:52 +0000 (14:10 -0400)] 
add a stamp command

14 years ago- move -c / -n arguments to front
Mike Bayer [Tue, 19 Apr 2011 17:07:51 +0000 (13:07 -0400)] 
- move -c / -n arguments to front
- add create_table, drop_table
- support range revs for when the --sql flag is set

14 years agomore crap
Mike Bayer [Tue, 19 Apr 2011 15:34:39 +0000 (11:34 -0400)] 
more crap

14 years agodo "find the templates" identically to how sphinx does it
Mike Bayer [Tue, 19 Apr 2011 15:28:54 +0000 (11:28 -0400)] 
do "find the templates" identically to how sphinx does it

14 years agoimport sys
Mike Bayer [Tue, 19 Apr 2011 14:03:30 +0000 (10:03 -0400)] 
import sys

14 years ago- pep3147-compatible version of locating .pyc
Mike Bayer [Fri, 25 Feb 2011 22:14:39 +0000 (17:14 -0500)] 
- pep3147-compatible version of locating .pyc

14 years agoanother file call
Mike Bayer [Fri, 25 Feb 2011 21:12:23 +0000 (16:12 -0500)] 
another file call

14 years ago- use open()
Mike Bayer [Fri, 25 Feb 2011 21:07:38 +0000 (16:07 -0500)] 
- use open()
- fix list comprehension so we are using correct fk name (py3k picked it up for us ! )

14 years ago- migrate to ArgParse
Mike Bayer [Fri, 25 Feb 2011 20:53:29 +0000 (15:53 -0500)] 
- migrate to ArgParse
- long lines/whitespace
- fix "list_templates"
- will support py3k immediately

14 years agouse public foreign keys collection
Mike Bayer [Fri, 25 Feb 2011 18:18:03 +0000 (13:18 -0500)] 
use public foreign keys collection

14 years ago- clean up whitespace
Mike Bayer [Fri, 25 Feb 2011 18:00:54 +0000 (13:00 -0500)] 
- clean up whitespace
- can't import sqlalchemy.test anymore

15 years agothis doesnt apply anymore
Mike Bayer [Mon, 17 May 2010 17:44:01 +0000 (13:44 -0400)] 
this doesnt apply anymore

15 years agocreate table construct, does the "metadata" thing as well.
Mike Bayer [Sat, 1 May 2010 22:42:37 +0000 (18:42 -0400)] 
create table construct, does the "metadata" thing as well.

15 years agomanifest + sphinx setup
Mike Bayer [Sat, 1 May 2010 17:11:19 +0000 (13:11 -0400)] 
manifest + sphinx setup

15 years agosome sqlite round trip tests
Mike Bayer [Fri, 30 Apr 2010 22:24:55 +0000 (18:24 -0400)] 
some sqlite round trip tests

15 years ago- sqlite dialect
Mike Bayer [Fri, 30 Apr 2010 19:47:18 +0000 (15:47 -0400)] 
- sqlite dialect
- SQL text mode
- some methods to help with upcoming tests

15 years agoui
Mike Bayer [Fri, 30 Apr 2010 00:23:08 +0000 (20:23 -0400)] 
ui

15 years agomore commands, can display history + branchpoints
Mike Bayer [Thu, 29 Apr 2010 23:20:27 +0000 (19:20 -0400)] 
more commands, can display history + branchpoints

15 years agosome ui improvements
Mike Bayer [Thu, 29 Apr 2010 22:17:58 +0000 (18:17 -0400)] 
some ui improvements

15 years agoupgrade, downgrade motion
Mike Bayer [Thu, 29 Apr 2010 22:00:44 +0000 (18:00 -0400)] 
upgrade, downgrade motion

15 years agoupgrade path
Mike Bayer [Thu, 29 Apr 2010 20:56:17 +0000 (16:56 -0400)] 
upgrade path

15 years agothis actually ran something
Mike Bayer [Wed, 28 Apr 2010 22:54:10 +0000 (18:54 -0400)] 
this actually ran something

15 years agobeginning to lay out migration flow
Mike Bayer [Wed, 28 Apr 2010 21:47:01 +0000 (17:47 -0400)] 
beginning to lay out migration flow

15 years ago- pushed the whole command line options thing into a single main() function
Mike Bayer [Wed, 28 Apr 2010 19:47:51 +0000 (15:47 -0400)] 
- pushed the whole command line options thing into a single main() function
- command methods now accept a "config" plus positional + kw arguments,
for easy API calling
- main() provides context sensitive arguments and help for each command
using inspect.getargspec()

15 years ago- ok the time-based ids are going to suck with branching, so using
Mike Bayer [Wed, 28 Apr 2010 03:11:30 +0000 (23:11 -0400)] 
- ok the time-based ids are going to suck with branching, so using
truncated random uuids now.
- removed the id number from the upgrade()/downgrade() callables.

15 years ago- get the test environment to use the command line correctly
Mike Bayer [Wed, 28 Apr 2010 02:57:54 +0000 (22:57 -0400)] 
- get the test environment to use the command line correctly
- use time-based slightly random hex ids.
- probably going to remove the id from the upgrade/downgrade name, not
much point to it.

15 years agofull round of revision file tests
Mike Bayer [Wed, 28 Apr 2010 02:22:40 +0000 (22:22 -0400)] 
full round of revision file tests

15 years agotest revision environment setup
Mike Bayer [Wed, 28 Apr 2010 01:15:02 +0000 (21:15 -0400)] 
test revision environment setup

15 years agowe're making revision files....
Mike Bayer [Tue, 27 Apr 2010 23:13:55 +0000 (19:13 -0400)] 
we're making revision files....

15 years agobeginning to build the revision system
Mike Bayer [Tue, 27 Apr 2010 22:25:04 +0000 (18:25 -0400)] 
beginning to build the revision system

15 years agocleanup for init function
Mike Bayer [Tue, 27 Apr 2010 21:45:01 +0000 (17:45 -0400)] 
cleanup for init function

15 years agoillustrate the basic idea of add_xxx(strings), whereby Table/Column/Constraint objects
Mike Bayer [Mon, 26 Apr 2010 04:20:57 +0000 (00:20 -0400)] 
illustrate the basic idea of add_xxx(strings), whereby Table/Column/Constraint objects
are just generated in order to produce the DDL.   I'm not entirely
thrilled with this - would be nicer if we could get sqlalchemy.schema constructs
to generate with strings alone - but this would change their signatures.  so we're sort
of doing that here anyway.

15 years agoutil module
Mike Bayer [Sun, 25 Apr 2010 18:51:48 +0000 (14:51 -0400)] 
util module

15 years agocommand line stuff
Mike Bayer [Sun, 25 Apr 2010 18:51:30 +0000 (14:51 -0400)] 
command line stuff

15 years agocommands
Mike Bayer [Sun, 25 Apr 2010 15:26:02 +0000 (11:26 -0400)] 
commands

15 years agoworking on cmd line
Mike Bayer [Sun, 25 Apr 2010 13:32:53 +0000 (09:32 -0400)] 
working on cmd line

15 years ago- figuring out script format
Mike Bayer [Sun, 25 Apr 2010 03:51:21 +0000 (23:51 -0400)] 
- figuring out script format
- figuring out operation system

15 years agothinking about layout
Mike Bayer [Sat, 24 Apr 2010 21:41:46 +0000 (17:41 -0400)] 
thinking about layout

15 years ago- basic DDL methodology
Mike Bayer [Sat, 24 Apr 2010 14:57:38 +0000 (10:57 -0400)] 
- basic DDL methodology
- need some framework to abstract operations to DDL instructions,
as we can't assume the number of executions per operation

15 years agowork in progress
Mike Bayer [Thu, 22 Apr 2010 22:46:42 +0000 (18:46 -0400)] 
work in progress

15 years agoa sandwich setup.
Mike Bayer [Thu, 22 Apr 2010 21:50:15 +0000 (17:50 -0400)] 
a sandwich setup.