[typo] Moving to Latest SVN

Scott Laird scott at sigkill.org
Sat Oct 15 12:31:00 EDT 2005


I'm going to have to think about this a bit--migrations 9, 10, and 17  
are easy, but 14 is a pain in the neck.


Scott

On Oct 15, 2005, at 9:25 AM, gpshewan wrote:

> Version 9
>
> On 15 Oct 2005, at 17:19, Scott Laird wrote:
>
>
>> Which migration?  What's in the schema_info table?
>>
>>
>> Scott
>>
>> On Oct 15, 2005, at 9:04 AM, gpshewan wrote:
>>
>>
>>
>>> Same error
>>>
>>> rake aborted!
>>> Table 'dbname.contents' doesn't exist: SHOW FIELDS FROM contents
>>> ./Rakefile:218
>>>
>>>
>>>
>>> On 15 Oct 2005, at 16:22, Scott Laird wrote:
>>>
>>>
>>>
>>>
>>>>
>>>> On Oct 15, 2005, at 8:03 AM, jesse newland wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>> I had this same error last night. The problem seemed to happen
>>>>> (for me
>>>>> anyways) just after adding guid's to comments and trackbacks.
>>>>> Here's
>>>>> what I did to fix this and get back to the trunk:
>>>>>
>>>>> * Backup DB and any modifications to typo
>>>>> * Revert to revision 636
>>>>> * Manually remove the dbname.comments.guid, and
>>>>> dbname.trackbacks.guid
>>>>> columns. (if they exist)
>>>>> * Run rake migrate
>>>>> * Update to trunk
>>>>> * Run rake migrate
>>>>> * Re-hack typo to your liking
>>>>>
>>>>> Revision 636 introduced guid's for comments and trackbacks, which
>>>>> requires re-saving of all such records. Later revisions of typo
>>>>> have
>>>>> renamed the 'articles' table to 'contents', which makes this re-
>>>>> saving
>>>>> difficult.  Hope this works.
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>> I just disabled the GUID generation in migration #18; this *should*
>>>> fix the problem.  I don't have a 2.5.x DB handy for testing,  
>>>> though.
>>>> Can someone please verify that migrating from 2.5.x to rev 679 of
>>>> the
>>>> trunk works?
>>>>
>>>>
>>>> Scott
>>>> _______________________________________________
>>>> Typo-list mailing list
>>>> Typo-list at rubyforge.org
>>>> http://rubyforge.org/mailman/listinfo/typo-list
>>>>
>>>>
>>>>
>>>>
>>>
>>> _______________________________________________
>>> Typo-list mailing list
>>> Typo-list at rubyforge.org
>>> http://rubyforge.org/mailman/listinfo/typo-list
>>>
>>>
>>>
>>
>> _______________________________________________
>> Typo-list mailing list
>> Typo-list at rubyforge.org
>> http://rubyforge.org/mailman/listinfo/typo-list
>>
>>
>
> _______________________________________________
> Typo-list mailing list
> Typo-list at rubyforge.org
> http://rubyforge.org/mailman/listinfo/typo-list
>



More information about the Typo-list mailing list