spec/dummy/db/schema.rb in enju_oai-0.2.0.beta.1 vs spec/dummy/db/schema.rb in enju_oai-0.2.0.beta.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: 20150221063719) do
+ActiveRecord::Schema.define(version: 20160813130535) do
create_table "accepts", force: :cascade do |t|
t.integer "basket_id"
t.integer "item_id"
t.integer "librarian_id"
@@ -672,10 +672,22 @@
end
add_index "libraries", ["library_group_id"], name: "index_libraries_on_library_group_id"
add_index "libraries", ["name"], name: "index_libraries_on_name", unique: true
+ create_table "library_group_translations", force: :cascade do |t|
+ t.integer "library_group_id", null: false
+ t.string "locale", null: false
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ t.text "login_banner"
+ t.text "footer_banner"
+ end
+
+ add_index "library_group_translations", ["library_group_id"], name: "index_library_group_translations_on_library_group_id"
+ add_index "library_group_translations", ["locale"], name: "index_library_group_translations_on_locale"
+
create_table "library_groups", force: :cascade do |t|
t.string "name", null: false
t.text "display_name"
t.string "short_name", null: false
t.text "my_networks"
@@ -686,10 +698,12 @@
t.datetime "created_at"
t.datetime "updated_at"
t.text "admin_networks"
t.string "url", default: "http://localhost:3000/"
t.text "settings"
+ t.text "html_snippet"
+ t.string "email"
end
add_index "library_groups", ["short_name"], name: "index_library_groups_on_short_name"
create_table "licenses", force: :cascade do |t|
@@ -1301,10 +1315,11 @@
t.text "metadata", default: "{}"
t.integer "sort_key"
t.integer "user_export_file_id"
t.datetime "created_at"
t.datetime "updated_at"
+ t.boolean "most_recent"
end
add_index "user_export_file_transitions", ["sort_key", "user_export_file_id"], name: "index_user_export_file_transitions_on_sort_key_and_file_id", unique: true
add_index "user_export_file_transitions", ["user_export_file_id"], name: "index_user_export_file_transitions_on_file_id"
@@ -1369,10 +1384,11 @@
t.text "metadata", default: "{}"
t.integer "sort_key"
t.integer "user_import_file_id"
t.datetime "created_at"
t.datetime "updated_at"
+ t.boolean "most_recent"
end
add_index "user_import_file_transitions", ["sort_key", "user_import_file_id"], name: "index_user_import_file_transitions_on_sort_key_and_file_id", unique: true
add_index "user_import_file_transitions", ["user_import_file_id"], name: "index_user_import_file_transitions_on_user_import_file_id"
@@ -1380,11 +1396,11 @@
t.integer "user_id"
t.text "note"
t.datetime "executed_at"
t.string "user_import_file_name"
t.string "user_import_content_type"
- t.string "user_import_file_size"
+ t.integer "user_import_file_size"
t.datetime "user_import_updated_at"
t.string "user_import_fingerprint"
t.string "edit_mode"
t.text "error_message"
t.datetime "created_at"
@@ -1398,10 +1414,11 @@
t.integer "user_import_file_id"
t.integer "user_id"
t.text "body"
t.datetime "created_at"
t.datetime "updated_at"
+ t.text "error_message"
end
create_table "user_reserve_stat_transitions", force: :cascade do |t|
t.string "to_state"
t.text "metadata", default: "{}"
@@ -1465,7 +1482,18 @@
t.text "object"
t.datetime "created_at"
end
add_index "versions", ["item_type", "item_id"], name: "index_versions_on_item_type_and_item_id"
+
+ create_table "withdraws", force: :cascade do |t|
+ t.integer "basket_id"
+ t.integer "item_id"
+ t.integer "librarian_id"
+ t.datetime "created_at", null: false
+ t.datetime "updated_at", null: false
+ end
+
+ add_index "withdraws", ["basket_id"], name: "index_withdraws_on_basket_id"
+ add_index "withdraws", ["item_id"], name: "index_withdraws_on_item_id"
end