# 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 => 20110812160932) do create_table "reputation_behaviours", :force => true do |t| t.integer "user_id" t.integer "rule_id" t.decimal "metric" end add_index "reputation_behaviours", ["rule_id"], :name => "index_reputation_behaviours_on_rule_id" add_index "reputation_behaviours", ["user_id"], :name => "index_reputation_behaviours_on_user_id" create_table "reputation_intermediate_values", :force => true do |t| t.integer "user_id" t.integer "rule_id" t.string "name" t.decimal "value" end add_index "reputation_intermediate_values", ["name"], :name => "index_reputation_intermediate_values_on_name" add_index "reputation_intermediate_values", ["rule_id"], :name => "index_reputation_intermediate_values_on_rule_id" add_index "reputation_intermediate_values", ["user_id"], :name => "index_reputation_intermediate_values_on_user_id" create_table "reputation_rules", :force => true do |t| t.string "name" t.integer "weight" t.string "kind" t.string "function" t.string "constants" t.string "aggregate_function" t.string "aggregate_constants" end create_table "users", :force => true do |t| t.string "name" end end