FIXED!
Since I haven't set myself up to do a real svn updates, I've been doing a checkout of the trunk to another area where I do my testing, and then copy the new over the old working area.  Bad move because one of the migrations was... err, migrated to another name.  This page that I googled was the tipoff... http://glu.ttono.us/articles/2005/10/27/the-joy-of-migrations

Deleting 1_initial_schema.rb was the fix.  And hopefully someone learns from my mistake and sets it up right the first time.  In fact, it would be good if the Typo instructions only dealt with svn so that its set up right from the start to handle updates from trunk or stable or whatever the case may be.


On 3/18/06, Ernie Oporto <[EMAIL PROTECTED]> wrote:
And just to answer my own mail one more time... =)
The culprit is in the db/migrations directory.  See first the problem site, then the working site.  The problem site has two migrations labeled 1_
The question is, where does that guy belong?  Should that be 40_add_extended_html.rb
And why does 0_initial_schema.rb now show up?


[EMAIL PROTECTED] blog]#ls db/migrate
0_initial_schema.rb                       28_rename_redirect_to.rb
10_add_tags.rb                            29_add_user_notification.rb
11_add_article_id.rb                      2_add_user_email.rb
12_enlarge_settings.rb                    30_index_sessions.rb
13_add_textfilters.rb                     31_add_notifications_table.rb
14_move_text_filter_to_text_filter_id.rb  32_add_jabber_notification.rb
15_convert_mysql_to_innodb.rb             33_add_count_caching.rb
16_fix_is_primary_postgres.rb             34_boolify_published.rb
17_add_comment_user_id.rb                 35_boolify_content_allow_foo.rb
18_add_guids.rb                           36_add_tag_display_name.rb
19_add_whiteboards_to_content.rb          37_enlarge_ip_field.rb
1_add_extended_html.rb                    38_add_blog_object.rb
1_initial_schema.rb                       39_serialize_blog_attributes.rb
20_superclass_articles.rb                 3_add_article_user_id.rb
21_superclass_comments.rb                 4_add_sidebars.rb
22_superclass_trackbacks.rb               5_add_cache_table.rb
23_superclass_pages.rb                    6_add_pages.rb
24_cleanup_contents.rb                    7_add_permalink.rb
25_add_itunes_metadata.rb                 8_add_page_title.rb
26_add_redirect_table.rb                  9_add_article_guid.rb
27_set_comment_published_flag.rb
[EMAIL PROTECTED] blog]#ls /web/quiticisms/blog/db/migrate
10_add_tags.rb                            29_add_user_notification.rb
11_add_article_id.rb                      2_add_user_email.rb
12_enlarge_settings.rb                    30_index_sessions.rb
13_add_textfilters.rb                     31_add_notifications_table.rb
14_move_text_filter_to_text_filter_id.rb  32_add_jabber_notification.rb
15_convert_mysql_to_innodb.rb             33_add_count_caching.rb
16_fix_is_primary_postgres.rb             34_boolify_published.rb
17_add_comment_user_id.rb                 35_boolify_content_allow_foo.rb
18_add_guids.rb                           36_add_tag_display_name.rb
19_add_whiteboards_to_content.rb          37_enlarge_ip_field.rb
1_initial_schema.rb                       38_add_blog_object.rb
20_superclass_articles.rb                 39_serialize_blog_attributes.rb
21_superclass_comments.rb                 3_add_article_user_id.rb
22_superclass_trackbacks.rb               4_add_sidebars.rb
23_superclass_pages.rb                    5_add_cache_table.rb
24_cleanup_contents.rb                    6_add_pages.rb
25_add_itunes_metadata.rb                 7_add_permalink.rb
26_add_redirect_table.rb                  8_add_page_title.rb
27_set_comment_published_flag.rb          9_add_article_guid.rb
28_rename_redirect_to.rb



On 3/18/06, Ernie Oporto < [EMAIL PROTECTED]> wrote:

And just one more detail, it also fails for another blog going from 39 to 40 with the same Multiple migrations message.


On 3/18/06, Ernie Oporto <[EMAIL PROTECTED]> wrote:

A little clarification.  I restarted the server and get "Application error (Rails)" with "Multiple migrations have the version number 1" in the production.log...





--
Ernie
http://www.shokk.com/blog/



--
Ernie
http://www.shokk.com/blog/
_______________________________________________
Typo-list mailing list
Typo-list@rubyforge.org
http://rubyforge.org/mailman/listinfo/typo-list

Reply via email to