Sha256: acb6a68bc87640efb4d7b2ef1020e27d32bc7ea492cc669cd307f244845775c4
Contents?: true
Size: 1.59 KB
Versions: 38
Compression:
Stored size: 1.59 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: 20141223164833) do create_table "products", force: true do |t| t.integer "vendor_id" t.string "title" t.decimal "price" t.boolean "active" t.datetime "created_at" t.datetime "updated_at" t.datetime "publish_at" t.string "type" t.integer "status", default: 0 end add_index "products", ["vendor_id"], name: "index_products_on_vendor_id" create_table "products_tags", id: false, force: true do |t| t.integer "tag_id" t.integer "product_id" end create_table "tags", force: true do |t| t.string "title" t.datetime "created_at" t.datetime "updated_at" end create_table "vendors", force: true do |t| t.string "name" t.string "url" t.boolean "active" t.text "description" t.datetime "created_at" t.datetime "updated_at" end end
Version data entries
38 entries across 38 versions & 1 rubygems