Sha256: 22d74d7dafb76bbd7e8e08ce20f95adec2e74eb253f5fd90715238b0f46a698c

Contents?: true

Size: 1.92 KB

Versions: 2

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 => 20110824180048) 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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
reputation-0.0.5 spec/rails_root/db/schema.rb
reputation-0.0.4 spec/rails_root/db/schema.rb