Sha256: db940f626a2d6f38f94628ea9742336e41b7a2f5bcc440be96f99f3bf147da93

Contents?: true

Size: 1.75 KB

Versions: 1

Compression:

Stored size: 1.75 KB

Contents

# 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 that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20140309200453) do

  create_table "articles", force: true do |t|
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "gamification_scorings", force: true do |t|
    t.integer  "task_id"
    t.integer  "subjectable_id"
    t.string   "subjectable_type"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  add_index "gamification_scorings", ["subjectable_id", "subjectable_type"], name: "index_gamification_scorings_on_subjectable"
  add_index "gamification_scorings", ["task_id"], name: "index_gamification_scorings_on_task_id"

  create_table "gamification_tasks", force: true do |t|
    t.integer  "taskable_id"
    t.string   "taskable_type"
    t.integer  "points"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  add_index "gamification_tasks", ["taskable_id", "taskable_type"], name: "index_gamification_tasks_on_taskable_id_and_taskable_type"

  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
gamification-0.0.2 spec/dummy/db/schema.rb