Code

Changes between Version 3 and Version 4 of SchemaEvolutionDesign


Ignore:
Timestamp:
03/09/12 13:49:49 (2 years ago)
Author:
Joe Tennies
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SchemaEvolutionDesign

    v3 v4  
    3131* Store revision number of tables 
    3232* Store updates as python scripts 
    33 * Reverse migrations? (from version 6 to version 4) 
    3433* Modify database schemas (Will require updates to database API) 
    3534  * Add columns 
     
    5150  * Detect that data may be lost 
    5251 
    53 == Non-Goals == 
     52=== Non-Goals === 
    5453 
    5554* Autodetection of changes 
    5655  * This should be left for external tools like South or nashvegas to do 
     56* Reverse migrations? (from version 6 to version 4) 
     57 
     58= Code Design = 
     59 
     60== Signals == 
     61 
     62=== pre_migration === 
     63 
     64Parameters:  
     65''app'' - the app to be migrated as a string 
     66''return_value''' - class that has a function to cancel the migration??? 
     67 
     68Sent just before starting running migrations for an app. 
     69 
     70=== post migration === 
     71 
     72Parameters:  
     73''app'' - the app to be migrated as a string 
     74 
     75Sent just after migration successfully finishes for an app. Note that if the migrations fail in the middle of executing, this will not get called.