Sha256: c9c0e9bbfe453aa532b12331be9ac2a347e788be8aa6dda4d80cd1a87ddb1cf6

Contents?: true

Size: 1.83 KB

Versions: 7

Compression:

Stored size: 1.83 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: 20140117112556) do

  create_table "addresses", force: true do |t|
    t.string   "street"
    t.string   "city"
    t.string   "country"
    t.integer  "user_id"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "invoices", force: true do |t|
    t.date     "date"
    t.datetime "created_at"
    t.datetime "updated_at"
    t.integer  "number"
    t.integer  "user_id"
  end

  create_table "line_items", force: true do |t|
    t.integer  "quantity"
    t.integer  "product_id"
    t.integer  "invoice_id"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

  create_table "products", force: true do |t|
    t.string   "name"
    t.integer  "price"
    t.datetime "created_at"
    t.datetime "updated_at"
    t.string   "type"
  end

  create_table "products_tags", id: false, force: true do |t|
    t.integer "product_id"
    t.integer "tag_id"
  end

  create_table "tags", force: true do |t|
    t.string "name"
  end

  create_table "users", force: true do |t|
    t.string   "name"
    t.datetime "created_at"
    t.datetime "updated_at"
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
forceps-0.6.7 test/dummy/db/schema.rb
forceps-0.6.4 test/dummy/db/schema.rb
forceps-0.6.3 test/dummy/db/schema.rb
forceps-0.6.2 test/dummy/db/schema.rb
forceps-0.6.1 test/dummy/db/schema.rb
forceps-0.6.0 test/dummy/db/schema.rb
forceps-0.5.0 test/dummy/db/schema.rb