Changes between Version 40 and Version 41 of SchemaEvolution
- Timestamp:
- Jan 12, 2008, 2:35:23 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SchemaEvolution
v40 v41 124 124 == Possible solutions == 125 125 126 === Write SQL ===126 === 1. Write SQL === 127 127 128 128 This is the current situation: you write a bunch of SQL and bung it into … … 139 139 to deal with the data migration. 140 140 141 === Automatic db introspection ===141 === 2. Automatic db introspection === 142 142 143 143 In this scenario, Django inspects your models and your database, and … … 165 165 the SQL she writes quickly. 166 166 167 === Automatically applied migration code ===167 === 3. Automatically applied migration code === 168 168 169 169 In this scenario, you give your models a version. When it comes time to upgrade, … … 196 196 since she has lots of custom code she needs to run. 197 197 198 === Introspection + migration ===198 === 4. Introspection + migration === 199 199 200 200 This approach is a combination of `Automatic db introspection`_ and