# encoding: UTF-8 # 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 => 20120223232000) do create_table "event_users", :force => true do |t| t.integer "event_id" t.integer "user_id" t.datetime "created_at" t.datetime "updated_at" end add_index "event_users", ["event_id", "user_id"], :name => "index_event_users_on_event_id_and_user_id" add_index "event_users", ["event_id"], :name => "index_event_users_on_event_id" add_index "event_users", ["user_id"], :name => "index_event_users_on_user_id" create_table "events", :force => true do |t| t.integer "creator_id" t.string "type" t.string "name" t.string "headline" t.datetime "start_time" t.datetime "end_time" t.datetime "created_at" t.datetime "updated_at" t.float "rank" end add_index "events", ["creator_id"], :name => "index_events_on_creator_id" create_table "merchant_order_items", :force => true do |t| t.integer "order_id" t.string "name" t.integer "price" t.datetime "created_at" t.datetime "updated_at" end create_table "merchant_orders", :force => true do |t| t.integer "user_id" t.integer "amount" t.datetime "created_at" t.datetime "updated_at" end create_table "users", :force => true do |t| t.string "first_name" t.string "last_name" t.date "birthday" t.string "sex" t.datetime "created_at" t.datetime "updated_at" end create_table "will_filter_filters", :force => true do |t| t.string "type" t.string "name" t.text "data" t.integer "user_id" t.string "model_class_name" t.datetime "created_at" t.datetime "updated_at" end add_index "will_filter_filters", ["user_id"], :name => "index_will_filter_filters_on_user_id" end