Sha256: 6d53f78398a581c6bd734d5cf5f095d110ee7ab02c530b59b13b2c3b39aa5cc2

Contents?: true

Size: 1.44 KB

Versions: 6

Compression:

Stored size: 1.44 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 => 20110925210727) do

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

  create_table "user_roles", :force => true do |t|
    t.integer  "user_id"
    t.integer  "role_id"
    t.datetime "created_at", :null => false
    t.datetime "updated_at", :null => false
  end

  add_index "user_roles", ["user_id", "role_id"], :name => "index_user_roles_on_user_id_and_role_id"

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

end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
simple_roles-0.0.12 spec/dummy/db/schema.rb
simple_roles-0.0.11 spec/dummy/db/schema.rb
simple_roles-0.0.10 spec/dummy/db/schema.rb
simple_roles-0.0.9 spec/dummy/db/schema.rb
simple_roles-0.0.8 spec/dummy/db/schema.rb
simple_roles-0.0.7 spec/dummy/db/schema.rb