SA-migrate in pkgdb

Imagemap
SA-migrate in pkgdbcreate db upgrade% manage_db script "Add app table"edit script test script% manage_db testcommitguidelinesupdate DB in small stepscommentmergecheck if there are conflicting db update ...conflicting changes in branch you are me ...dont merge your conflicting changes - ap ...create dbfrom dumpusagedownload dump, create db from it, call u ...switch to new dumpson production machineinstall 0.5.x updatethat should install sa-migrateapply all updates in update-schemaupgrade db using migratecreate dumpreplace available dumpsstart using migrate for whole developmen ...from model% tg-admin sql createuse DDL() in the model to set table cont ...version table has to be in modelvalue in version table is computed from  ...things like triggers on one place along  ...initial table data in the modelupgrade dbprereqversion table already in db% manage_db upgradedeveloper's switchrecreate db from dumptransform your local changes to db upgra ...testingunittestsDBTest class can create fresh database a ...acceptence/application testscreate fresh db from modelload in necessary data for the testprereqsa-migrete installedadd depssetup% migrate manage manage.py --repository= ...update manage.py to use  connection URI  ...rename manage.py to manage_dbupdate pkgdb 0.5.x -> 0.6.xas in every other merge, the db upgrades ...
hide
SA-migrate in pkgdb