Changes between Version 3 and Version 4 of SchemaEvolutionProposal


Ignore:
Timestamp:
Apr 24, 2006, 1:52:54 PM (18 years ago)
Author:
brantley
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SchemaEvolutionProposal

    v3 v4  
    6868}}}
    6969
    70 On the next sync, it will then create a table 'Tag', and it will automatically make the changes to Blog, as it is aware of what changes need to be made.  Well, that sounds good on the surface, but that means that we will lose all of our already applied tags.  We're going to have to move some data around to make a Tag object for each tag already on an entry.  So before we syncdb we go in and update the {{{models.evolution.py}}} file to look like this:
     70On the next sync, it will then create a table 'Tag', and it will automatically make the changes to Entry, as it is aware of what changes need to be made.  Well, that sounds good on the surface, but that means that we will lose all of our already applied tags.  We're going to have to move some data around to make a Tag object for each tag already on an entry.  So before we syncdb we go in and update the {{{models.evolution.py}}} file to look like this:
    7171
    7272{{{
Back to Top