spec/dummy/db/schema.rb in enju_manifestation_viewer-0.2.1 vs spec/dummy/db/schema.rb in enju_manifestation_viewer-0.2.2

- 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: 20160813203039) do +ActiveRecord::Schema.define(version: 20160820004638) do create_table "accepts", force: :cascade do |t| t.integer "basket_id" t.integer "item_id" t.integer "librarian_id" @@ -29,10 +29,11 @@ t.text "metadata", default: "{}" t.integer "sort_key" t.integer "agent_import_file_id" t.datetime "created_at" t.datetime "updated_at" + t.boolean "most_recent" end add_index "agent_import_file_transitions", ["agent_import_file_id"], name: "index_agent_import_file_transitions_on_agent_import_file_id" add_index "agent_import_file_transitions", ["sort_key", "agent_import_file_id"], name: "index_agent_import_file_transitions_on_sort_key_and_file_id", unique: true @@ -198,16 +199,20 @@ t.datetime "created_at" t.datetime "updated_at" end create_table "carrier_types", force: :cascade do |t| - t.string "name", null: false + t.string "name", null: false t.text "display_name" t.text "note" t.integer "position" t.datetime "created_at" t.datetime "updated_at" + t.string "attachment_file_name" + t.string "attachment_content_type" + t.integer "attachment_file_size" + t.datetime "attachment_updated_at" end create_table "colors", force: :cascade do |t| t.integer "library_group_id" t.string "property" @@ -330,10 +335,11 @@ t.text "metadata", default: "{}" t.integer "sort_key" t.integer "import_request_id" t.datetime "created_at" t.datetime "updated_at" + t.boolean "most_recent" end add_index "import_request_transitions", ["import_request_id"], name: "index_import_request_transitions_on_import_request_id" add_index "import_request_transitions", ["sort_key", "import_request_id"], name: "index_import_request_transitions_on_sort_key_and_request_id", unique: true @@ -592,10 +598,12 @@ t.string "picture_content_type" t.integer "picture_file_size" t.datetime "picture_updated_at" t.text "picture_meta" t.string "picture_fingerprint" + t.integer "picture_width" + t.integer "picture_height" end add_index "picture_files", ["picture_attachable_id", "picture_attachable_type"], name: "index_picture_files_on_picture_attachable_id_and_type" create_table "produce_types", force: :cascade do |t| @@ -683,10 +691,11 @@ t.text "metadata", default: "{}" t.integer "sort_key" t.integer "resource_export_file_id" t.datetime "created_at" t.datetime "updated_at" + t.boolean "most_recent" end add_index "resource_export_file_transitions", ["resource_export_file_id"], name: "index_resource_export_file_transitions_on_file_id" add_index "resource_export_file_transitions", ["sort_key", "resource_export_file_id"], name: "index_resource_export_file_transitions_on_sort_key_and_file_id", unique: true @@ -706,9 +715,10 @@ t.text "metadata", default: "{}" t.integer "sort_key" t.integer "resource_import_file_id" t.datetime "created_at" t.datetime "updated_at" + t.boolean "most_recent" end add_index "resource_import_file_transitions", ["resource_import_file_id"], name: "index_resource_import_file_transitions_on_file_id" add_index "resource_import_file_transitions", ["sort_key", "resource_import_file_id"], name: "index_resource_import_file_transitions_on_sort_key_and_file_id", unique: true