Software Details:
Version: 0.42.0
Upload Date: 12 May 15
Distribution Type: Freeware
Downloads: 0
stucco_evolution is an 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.
What is new in this release:
- Add paster create -t stucco_evolution mypackage to create an evolution module in mypackage/evolve/...
What is new in version 0.33:
- Backwards-incompatible change. A SQLAlchemy connection is now required everywhere a session was previously expected. This is necessary for transactional DDL (the ability to roll back a migration that throws an exception.)
What is new in version 0.12:
- Add create_or_upgrade_packages(session, 'packagename') convenience function
What is new in version 0.11:
- Backwards-incompatible API changes
- Improve documentation
- Detect circular dependencies between evolution modules
- Regain 100% statement coverage (however, unit tests depend on several unreleased packages)
What is new in version 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.
Requirements:
- Python
Comments not found