spec/dummy/db/schema.rb in mechanize_store-0.0.13 vs spec/dummy/db/schema.rb in mechanize_store-0.0.14
- old
+ new
@@ -9,11 +9,11 @@
# 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: 20140605213358) do
+ActiveRecord::Schema.define(version: 20140606130912) do
create_table "mechanize_store_flags", force: true do |t|
t.string "name"
t.datetime "created_at"
t.datetime "updated_at"
@@ -75,10 +75,11 @@
t.string "name"
t.integer "product_category_id"
t.datetime "created_at"
t.datetime "updated_at"
t.string "slug"
+ t.integer "product_section_id"
end
create_table "mechanize_store_product_photos", force: true do |t|
t.string "file_file_name"
t.string "file_content_type"
@@ -88,9 +89,16 @@
t.datetime "created_at"
t.datetime "updated_at"
end
add_index "mechanize_store_product_photos", ["product_id"], name: "index_mechanize_store_product_photos_on_product_id"
+
+ create_table "mechanize_store_product_sections", force: true do |t|
+ t.string "name"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ t.string "slug"
+ end
create_table "mechanize_store_products", force: true do |t|
t.string "name"
t.text "description"
t.string "short_description"