Sha256: 269d05a296bb767ab854e42c266c31682a2e10ac0a20454f51c78b9bcae39e8b

Contents?: true

Size: 1.5 KB

Versions: 2

Compression:

Stored size: 1.5 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 to check this file into your version control system.

ActiveRecord::Schema.define(:version => 20140412132501) do

  create_table "flicks", :force => true do |t|
    t.string   "name"
    t.datetime "created_at", :null => false
    t.datetime "updated_at", :null => false
  end

  create_table "ratings", :force => true do |t|
    t.integer "starrable_id"
    t.string  "starrable_type"
    t.integer "rater_id"
    t.string  "rater_type"
    t.integer "rating"
  end

  add_index "ratings", ["rater_id", "rater_type"], :name => "index_ratings_on_rater_id_and_rater_type"
  add_index "ratings", ["starrable_id", "starrable_type"], :name => "index_ratings_on_starrable_id_and_starrable_type"

  create_table "users", :force => true do |t|
    t.string   "name"
    t.datetime "created_at", :null => false
    t.datetime "updated_at", :null => false
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
acts_as_starrable-0.0.2 spec/dummy/db/schema.rb
acts_as_starrable-0.0.1 spec/dummy/db/schema.rb