Sha256: 449df570aa718b552c80d65e84f21b46c687afe2a1e21312cbdacd156825be55

Contents?: true

Size: 1.75 KB

Versions: 5

Compression:

Stored size: 1.75 KB

Contents

# 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: 1000) do

  create_table "dummy_users", force: :cascade 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: :cascade 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"
    t.index ["name", "version"], name: "index_fine_print_contracts_on_name_and_version", unique: true
  end

  create_table "fine_print_signatures", force: :cascade do |t|
    t.integer "contract_id", null: false
    t.string "user_type", null: false
    t.integer "user_id", null: false
    t.datetime "created_at"
    t.datetime "updated_at"
    t.boolean "is_implicit", default: false, null: false
    t.index ["contract_id"], name: "index_fine_print_signatures_on_contract_id"
    t.index ["user_id", "user_type", "contract_id"], name: "index_fine_print_s_on_u_id_and_u_type_and_c_id", unique: true
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
fine_print-6.0.1 spec/dummy/db/schema.rb
fine_print-6.0.0 spec/dummy/db/schema.rb
fine_print-5.0.0 spec/dummy/db/schema.rb
fine_print-4.0.1 spec/dummy/db/schema.rb
fine_print-4.0.0 spec/dummy/db/schema.rb