Migration question (006_create_categories.rb)

Forums > Book - Chapter 4 > Migration question (006_create_categories.rb)

Login to post a new topic

Author Message
Vicar8
Member since 21 Nov 02:01
0 posts
Background (I have installed ruby 1.8.6 (2007-03-13 patchlevel 0) [powerpc-darwin8.10.0], rails 1.2.5, and MySQL Server version: 5.0.45 MySQL Community Server (GPL))
While observing the rake command output (from page 91), I noticed the following information in my terminal screen:
CreateCategories: migrating ==============================================
- create_table(:categories)
-> 0.0529s
- change_column(:articles, :category_id, :integer, {:default=>#“Site News”, “id”=>1}, @errors=#, @errors={}>>})
-> 0.0143s
CreateCategories: migrated (0.1690s) =====================================
Should I be concerned about the error information indicated in the output? I haven’t proceeded further in the book yet to see if any additional complications have arisen (I am new to Ruby on Rails, with no prior MySQL or relational database experience).
Do you know if there is anything I should look for within the database tables to see if the error message indicated an incomplete process?
p.s. I don’t know if you can see all of the errors generated during the migration process (they didn’t appear to be shown in this post…I can email the full text to you if you prefer).
pathfinder
Member since 29 Dec 18:23
0 posts

It appears that there were no errors in your migration.