Sha256: b5f8e1e3121539ae2595714e5bdeb12fea4eda972f8577aa4adbc118b2233561
Contents?: true
Size: 1.92 KB
Versions: 1
Compression:
Stored size: 1.92 KB
Contents
# This file is auto-generated from the current state of the database. Instead of editing this file, # please use the migrations feature of Active Record to incrementally modify your database, and # then regenerate this schema definition. # # Note that this schema.rb definition is the authoritative source for your database schema. If you need # to create the application database on another system, you should be using db:schema:load, not running # all the migrations from scratch. The latter is a flawed and unsustainable approach (the more migrations # you'll amass, the slower it'll run and the greater likelihood for issues). # # It's strongly recommended to check this file into your version control system. ActiveRecord::Schema.define(:version => 20100421154808) do create_table "answers", :force => true do |t| t.integer "question_id" t.integer "user_id" t.string "data" end add_index "answers", ["question_id"], :name => "index_answers_on_question_id" add_index "answers", ["user_id"], :name => "index_answers_on_user_id" create_table "choices", :force => true do |t| t.integer "question_id" t.string "value" t.integer "position" t.datetime "created_at" t.datetime "updated_at" end add_index "choices", ["question_id"], :name => "index_choices_on_question_id" create_table "data_groups", :force => true do |t| t.string "name" t.integer "position" t.datetime "created_at" t.datetime "updated_at" end create_table "questions", :force => true do |t| t.integer "data_group_id" t.string "data_type" t.string "prompt" t.boolean "multiple" t.boolean "other" t.integer "position" t.datetime "created_at" t.datetime "updated_at" end add_index "questions", ["data_group_id"], :name => "index_questions_on_data_group_id" create_table "users", :force => true do |t| t.datetime "created_at" t.datetime "updated_at" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
census-0.4.1 | test/rails_root/db/schema.rb |