Sha256: d4d87ecffa90f58f04bbd21998b039070e0df868497b7518b6058f77ae62d0b8

Contents?: true

Size: 1.64 KB

Versions: 1

Compression:

Stored size: 1.64 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: 20150617152432) do

  create_table "document_numbers", force: :cascade do |t|
    t.string   "document"
    t.integer  "number",     default: 1, null: false
    t.datetime "created_at"
  end

  add_index "document_numbers", ["document"], name: "index_document_numbers_on_document", unique: true

  create_table "inventories", force: :cascade do |t|
    t.string   "number"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "invoices", force: :cascade do |t|
    t.string   "number"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "price_adjustments", force: :cascade do |t|
    t.string   "document_number"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "supplier_complaints", force: :cascade do |t|
    t.string   "number"
    t.string   "text"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
document_number-0.10.0 spec/dummy/db/schema.rb