Skip to content

Instantly share code, notes, and snippets.

@jamescway
Created June 13, 2011 22:05
Show Gist options
  • Save jamescway/1023835 to your computer and use it in GitHub Desktop.
Save jamescway/1023835 to your computer and use it in GitHub Desktop.
ActiveRecord::Schema.define(:version => 20110613211706) do
create_table "answers", :force => true do |t|
t.text "answer"
t.integer "question_id"
end
create_table "questions", :force => true do |t|
t.string "question"
end
create_table "survey_questions", :force => true do |t|
t.integer "survey_id"
t.integer "question_id"
end
create_table "surveys", :force => true do |t|
t.string "name"
end
create_table "user_surveys", :force => true do |t|
t.integer "user_id"
t.integer "survey_id"
t.integer "answer_id"
end
create_table "users", :force => true do |t|
t.string "name"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment