Commits

Show all
Author Commit Message Labels Comments Date
Mike Bayer
fix docstring references
Tags
rel_0_2_0
Mike Bayer
fix long lines
Mike Bayer
merge this together
Mike Bayer
cut off the slug length at 20 chars
Mike Bayer
lets put a doc note here for now since everyone is going to get this issue
Mike Bayer
add docs for the standalone ops use case
Mike Bayer
- add test coverage for standalone MigrationContext / Operations - ensure MigrationContext.configure can be used with a single connection argument
Mike Bayer
turn alembic.op and alembic.context into real proxy modules, with an accurate system of reflecting the Operations and EnvironmentContext methods into them.
Mike Bayer
- [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]
Mike Bayer
merge whatever
Mike Bayer
use newer url
Mike Bayer
more fixes for rev ids
Mike Bayer
remove erroneous pdb
Mike Bayer
- 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
Mike Bayer
documentation including an API diagram
Mike Bayer
documentation updates for 0.2
Mike Bayer
- [feature] The naming of revision files can now be customized to be some combination of "rev id" and "slug", the latter of which is based on the revision message. By default, the pattern "<rev>_<slug>" is used for new files. New script files should include the "revision" variable for this to work, which is part of the newer script.py.mako scripts. [#24]
Mike Bayer
this is all tests passing with the refactor, which IMHO is miraculous
Mike Bayer
- rearrange the internals such that we no longer use global variables to get to things. The new structure is: EnvironmentContext -> MigrationContext -> Operation EnvironmentContext sets up the variables "alembic.context" and "alembic.op" to act like the modules they used to. MigrationContext can also exist independently of EnvironmentContext. Refactoring is still underway here.
Mike Bayer
the "stamp" command by itself does not set up "starting_rev"
Mike Bayer
- [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]
Mike Bayer
- [bug] Fixed alteration of column type on MSSQL to not include the keyword "TYPE".
Mike Bayer
- [bug] fix the config.main() function to honor the arguments passed, remove no longer used "scripts/alembic" as setuptools creates this for us. [#22]
Mike Bayer
more manifest
Mike Bayer
need to include the .rst files in the manifest
Mike Bayer
new year
Mike Bayer
Added tag rel_0_1_1 for changeset 02e54a70998d
Mike Bayer
changelog
Tags
rel_0_1_1
samrayment
Column names were not wrapped in quotes when autogenerating a ForeignKeyConstraint.
Mike Bayer
fix #20
  1. Prev
  2. Next