Sha256: 42567e33fe4198efacc2ede572dae5a22417157b070572f648a2f3c155c39a20
Contents?: true
Size: 1.99 KB
Versions: 3
Compression:
Stored size: 1.99 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: 20170507191539) do create_table "audits", force: :cascade do |t| t.integer "auditable_id" t.string "auditable_type" t.integer "associated_id" t.string "associated_type" t.integer "user_id" t.string "user_type" t.string "username" t.string "action" t.text "audited_changes" t.integer "version", default: 0 t.string "comment" t.string "remote_address" t.string "request_uuid" t.datetime "created_at" t.index ["associated_id", "associated_type"], name: "associated_index" t.index ["auditable_id", "auditable_type"], name: "auditable_index" t.index ["created_at"], name: "index_audits_on_created_at" t.index ["request_uuid"], name: "index_audits_on_request_uuid" t.index ["user_id", "user_type"], name: "user_index" end create_table "products", force: :cascade do |t| t.string "sku" t.string "title" t.decimal "price" t.boolean "active" t.text "description" t.datetime "created_at", null: false t.datetime "updated_at", null: false end create_table "users", force: :cascade do |t| t.string "name" t.string "email" t.datetime "created_at", null: false t.datetime "updated_at", null: false end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
audited_views-0.0.3 | spec/dummy/db/schema.rb |
audited_views-0.0.2 | spec/dummy/db/schema.rb |
audited_views-0.0.1 | spec/dummy/db/schema.rb |