Changes between Version 3 and Version 4 of SchemaEvolutionDesign
- Timestamp:
- Mar 9, 2012, 3:49:49 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SchemaEvolutionDesign
v3 v4 31 31 * Store revision number of tables 32 32 * Store updates as python scripts 33 * Reverse migrations? (from version 6 to version 4)34 33 * Modify database schemas (Will require updates to database API) 35 34 * Add columns … … 51 50 * Detect that data may be lost 52 51 53 == Non-Goals==52 === Non-Goals === 54 53 55 54 * Autodetection of changes 56 55 * 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 64 Parameters: 65 ''app'' - the app to be migrated as a string 66 ''return_value''' - class that has a function to cancel the migration??? 67 68 Sent just before starting running migrations for an app. 69 70 === post migration === 71 72 Parameters: 73 ''app'' - the app to be migrated as a string 74 75 Sent just after migration successfully finishes for an app. Note that if the migrations fail in the middle of executing, this will not get called.