Skip to content

Instantly share code, notes, and snippets.

@pote
Last active December 17, 2015 04:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pote/5550771 to your computer and use it in GitHub Desktop.
Save pote/5550771 to your computer and use it in GitHub Desktop.
ActiveRecord::Schema.define(:version => 20130203210553) do
create_table "people", :force => true do |t|
t.string :name
t.string :birthday
t.string :place_of_birth
t.string :blood_type
t.string :type # => Needed for the ORM to know which kind of object its dealing with.
t.string :university # => The Scientist field(s)
t.string :recipes # => The Chef field(s)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment