[Rails] two tables in one migration file?
i already have 10_create_comments migration file.
that file contains
create_table :comments do |t|
t.column :title, :text
t.column :foto_id, :integer
t.column :user_id, :integer
t.column :created_at, :datetime
t.column :updated_at, :datetime
end
this is design for photo commenting purpose. i i need another comment
setup under the message so how do i use this migration file to that?
any ideas?
nirosh
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home