Skip to content

Instantly share code, notes, and snippets.

@chintanparikh
Created June 9, 2012 15:56
Show Gist options
  • Save chintanparikh/2901570 to your computer and use it in GitHub Desktop.
Save chintanparikh/2901570 to your computer and use it in GitHub Desktop.
ActiveRecord::Schema.define(:version => 20120609145912) do
create_table "categories", :force => true do |t|
t.string "name"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
create_table "sections", :force => true do |t|
t.string "name"
t.integer "category_id"
t.datetime "created_at", :null => false
t.datetime "updated_at", :null => false
end
add_index "sections", ["category_id"], :name => "index_sections_on_category_id"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment