Dead simple schema upgrades for SQLAlchemy.
Project description
stucco_evolution
SQLAlchemy manager for repoze.evolution. Provides a simple way to implement schema migrations as a package of numbered Python scripts.
stucco_evolution keeps a table with (packagename, version) tuples and will pass a SQLAlchemy session to numbered evolveN.py scripts to bring the schema for packagename up-to-date. All you have to do is write the Python and SQL needed to make that happen.
0.9
Rename to stucco_evolution
stucco_evolution’s own upgrade() will now deletage all stucco_evolution.Base.metadata.crete_all(session) to the evolveN.py scripts. This avoids ‘DROP TABLE’ statements when an upgrade includes table renames.
0.8998
Improved packagibility (MANIFEST.in specified)
SQLAlchemyEvolutionManager no longer calls session.commit(); this is your responsibility after the migration has completed.
0.8
100% statement coverage
0.0
Initial version
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.