Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
66 lines (53 sloc) 2.29 KB
# 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 => 20111130072857) do
create_table "minor_skills_races", :id => false, :force => true do |t|
t.integer "skill_id"
t.integer "race_id"
end
add_index "minor_skills_races", ["skill_id", "race_id"], :name => "index_minor_skills_races_on_skill_id_and_race_id"
create_table "perks", :force => true do |t|
t.string "name"
t.text "description"
t.integer "ranks", :default => 1
t.integer "skill_id"
t.integer "skill_points", :default => 0
t.string "slug"
t.datetime "created_at"
t.datetime "updated_at"
t.integer "additional_rank"
end
add_index "perks", ["skill_id"], :name => "index_perks_on_skill_id"
add_index "perks", ["slug"], :name => "index_perks_on_slug"
create_table "perks_prerequisites", :id => false, :force => true do |t|
t.integer "perk_id"
t.integer "prerequisite_id"
end
add_index "perks_prerequisites", ["perk_id", "prerequisite_id"], :name => "index_perks_prerequisites_on_perk_id_and_prerequisite_id"
create_table "races", :force => true do |t|
t.string "name"
t.integer "major_skill_id"
t.string "slug"
t.datetime "created_at"
t.datetime "updated_at"
end
add_index "races", ["major_skill_id"], :name => "index_races_on_major_skill_id"
add_index "races", ["slug"], :name => "index_races_on_slug"
create_table "skills", :force => true do |t|
t.string "name"
t.string "slug"
t.datetime "created_at"
t.datetime "updated_at"
end
add_index "skills", ["slug"], :name => "index_skills_on_slug"
end