summaryrefslogtreecommitdiff
path: root/docs
Commit message (Collapse)AuthorAgeFilesLines
* - Added year, month, day, hour, minute, secondMike Bayer2012-07-111-69/+76
| | | | variables to file_template. #59
* drat, we're betaMike Bayer2012-07-081-14/+15
|
* - [feature] New config argumentrel_0_3_3Mike Bayer2012-06-021-0/+7
| | | | | | | | | | | | | "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".
* - [feature] Added support for "relative" migrationMike Bayer2012-05-161-0/+13
| | | | | | identifiers, i.e. "alembic upgrade +2", "alembic downgrade -1". Courtesy Atsushi Odagiri for this feature.
* add a note specifically about EnumMike Bayer2012-04-171-0/+11
|
* - move to 0.3 as we are changing APIrel_0_3_0Mike Bayer2012-04-053-19/+100
| | | | | | | | | | | | | | | | | | | | | - [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.
* - [feature] script_location can be interpretedMike Bayer2012-02-082-5/+18
| | | | | | | 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]
* fix docstring referencesrel_0_2_0Mike Bayer2012-01-302-2/+2
|
* turn alembic.op and alembic.context into real proxy modules,Mike Bayer2012-01-262-22/+9
| | | | | with an accurate system of reflecting the Operations and EnvironmentContext methods into them.
* merge whateverMike Bayer2012-01-241-2/+5
|\
| * more fixes for rev idsMike Bayer2012-01-241-2/+5
| |
* | use newer urlMike Bayer2012-01-241-1/+1
|/
* - tried it out in my work project, and realized the "op" and "context" ↵Mike Bayer2012-01-244-20/+112
| | | | | | | | | | 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
* documentation including an API diagramMike Bayer2012-01-244-16/+1235
|
* documentation updates for 0.2Mike Bayer2012-01-245-27/+82
|
* go back to readthedocsMike Bayer2011-12-231-1/+1
|
* another doc bugMike Bayer2011-11-301-2/+2
|
* switch to "from alembic import op" as its notMike Bayer2011-11-301-7/+7
| | | | a debate worth having...probably clearer too
* - fix some more file()->open() in docsMike Bayer2011-11-291-15/+21
| | | | | - doc updates, corrections - script uses CommandError consistently
* dependenciesMike Bayer2011-11-281-0/+9
|
* typoMike Bayer2011-11-281-1/+1
|
* - rename autogenerate_metadata to target_metadata, ↵Mike Bayer2011-11-281-5/+5
| | | | | | | autogenerate_sqlalchemy_prefix to sqlalchemy_module_prefix - add create_check_constraint() directive
* - move comparison of types, server default to the context.Mike Bayer2011-11-281-4/+22
| | | | | | | | | | | | 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
* some docsMike Bayer2011-11-281-1/+1
|
* - add more caveats to autogen docsMike Bayer2011-11-271-8/+29
| | | | | - fix --sql examples to use is_offline_mode(), new env.py format
* - use new sa. import in tutorial examplesMike Bayer2011-11-271-7/+4
| | | | - add an alter column autogen test with an FK constraint
* - docsMike Bayer2011-11-272-27/+69
| | | | | | | - note about unicode - dont need importlater - use correct type_ kw arg - log cols/tables/etc as we autogenerate
* - support for schema types in modify typeMike Bayer2011-11-271-2/+3
| | | | | | | - add known status to CHANGES - google group - sa. prefix on modify type in autogenerate - rename_table
* add front matterMike Bayer2011-11-203-9/+47
|
* - new doc themeMike Bayer2011-11-171-1/+1
| | | | - host on packages.python.org
* - remove add_constraint, this is not the current philosophy of the op packageMike Bayer2011-11-151-0/+11
| | | | | | | - document most op methods - add support for create_index, drop_index - remove needless arguments from drop_table - propagate arguemnts to UniqueConstraint
* docs docs docs docsMike Bayer2011-11-152-0/+27
|
* - add argparse to install requiresMike Bayer2011-11-142-14/+19
| | | | | | | - more docs - get env.py to work in --sql mode even without the DBAPI installed, using just the URL - add get_section_option()
* - refactor the migration operations out of context, whichMike Bayer2011-11-142-4/+12
| | | | | mediates at a high level, into ddl/impl, which deals with DB stuff - fix MSSQL add column, #2
* get env to have all the arguments before and after context is set upMike Bayer2011-11-141-4/+4
|
* - make start/end arguments available to environmentsMike Bayer2011-11-141-10/+32
| | | | | | - more environment functions - clean up start:end system - docs
* some docsMike Bayer2011-11-112-2/+62
|
* - get the "stamp" command to work in as_sqlMike Bayer2011-11-111-1/+4
| | | | | | | | | - 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
* clean up the output formatMike Bayer2011-11-081-5/+10
|
* docsMike Bayer2011-11-085-16/+401
|
* docsMike Bayer2011-11-085-6/+331
|
* manifest + sphinx setupMike Bayer2010-05-014-0/+434