Sidebar Network

deseb Django external schema evolution branch.

The Basics

Django, via the command ./manage syncdb, can automatically build a database schema based on your applications models.py file. However, after you’ve done this once, it leaves you with two unpleasant follow-up options if you ever make any changes to your model structure:

  1. destroy your existing schema (along with all your data) and let ./manage syncdb rebuild it for you
  2. manage your own schema upgrades by writing your own SQL

Project deseb aims to fill this void by providing s third option:

  • generate schema upgrades via the command: ./manage evolvedb
Project Homehttp://code.google.com/p/deseb/
Grab the Repository – svn checkout http://deseb.googlecode.com/svn/trunk/
 

Recent Commits

  • 80 was committed 3 months, 1 week ago.
    Dropped 0.96 and 0.97 pre db API refactor compatibility, added 1.0 and trunk compatibility. Thanks, patch contributors. Fixes #33, #34.
  • 79 was committed 4 months ago.
    fixed quote_value to return true/false instead of t/f
  • 78 was committed 4 months ago.
    fixed ‘t’/’f’ mixmatch in quote_value()
  • 77 was committed 11 months ago.
    Fixed #7: bug from deseb-discuss, django-0.96-related Implemented DROP TABLE for sqlite Added GenericRelation and OneToOneField into one of the tests Returned back UNIQUE recognition for sqlite Moved many2many creation to the end (‘cause postgres complained) Improved long character types length
  • 76 was committed 11 months ago.
    Resolved #1: postgres background patch
  • 75 was committed 11 months ago.
    Fixed #20: Database field type changes are ignored Fixed #21: MySQL BooleanField default value problem Fixed #18: evolvedb adds “drop table” statements to the end of table creation commands. Improved sqlite handling Added few more tests Improved .bat files used for testing on windows
  • 74 was committed 11 months ago.
    fixed bug where multiple managed upgrades don’t apply automatically
  • 73 was committed 11 months, 2 weeks ago.
    added —managed-upgrades-only option
  • 72 was committed 11 months, 3 weeks ago.
    svn ignore added
  • 71 was committed 11 months, 3 weeks ago.
    SQLite works on django-0.96.1 now, few minor bugs fixed, drop cascade added for postgresql, added docs reference and FIXME for sqlite create column