Hello Jeremy, thanks for providing me your experience and quick 
response!

Here is my migration, sorry for being such a newb....


[loluser@fedora migrate]$ cat 20120527225053_create_pets.rb
class CreatePets < ActiveRecord::Migration
  belongs_to  :admin
  def self.up
    create_table :pets do |t|
      t.string :location
      t.string :public_key

      t.timestamps
    end
  end

  def self.down
    drop_table :pets
  end
end

-- 
Posted via http://www.ruby-forum.com/.

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to