Sha256: 6dea786c7b80428d63bd068da97527754b25e0fb48aeceb9c4a4d1aef9f11a4e

Contents?: true

Size: 1.81 KB

Versions: 11

Compression:

Stored size: 1.81 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: 1) do

  create_table "dummy_users", force: true do |t|
    t.boolean  "is_admin",   default: false, null: false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "fine_print_contracts", force: true do |t|
    t.string   "name",       null: false
    t.integer  "version"
    t.string   "title",      null: false
    t.text     "content",    null: false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  add_index "fine_print_contracts", ["name", "version"], name: "index_fine_print_contracts_on_name_and_version", unique: true

  create_table "fine_print_signatures", force: true do |t|
    t.integer  "contract_id", null: false
    t.integer  "user_id",     null: false
    t.string   "user_type",   null: false
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  add_index "fine_print_signatures", ["contract_id"], name: "index_fine_print_signatures_on_contract_id"
  add_index "fine_print_signatures", ["user_id", "user_type", "contract_id"], name: "index_fine_print_s_on_u_id_and_u_type_and_c_id", unique: true

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
fine_print-3.0.0 spec/dummy/db/schema.rb
fine_print-2.3.1 spec/dummy/db/schema.rb
fine_print-2.3.0 spec/dummy/db/schema.rb
fine_print-2.2.1 spec/dummy/db/schema.rb
fine_print-2.2.0 spec/dummy/db/schema.rb
fine_print-2.1.1 spec/dummy/db/schema.rb
fine_print-2.0.3 spec/dummy/db/schema.rb
fine_print-2.0.2 spec/dummy/db/schema.rb
fine_print-2.0.1 spec/dummy/db/schema.rb
fine_print-2.0.0 spec/dummy/db/schema.rb
fine_print-1.4.1 spec/dummy/db/schema.rb