spec/dummy/db/schema.rb in enju_leaf-1.1.4 vs spec/dummy/db/schema.rb in enju_leaf-1.2.0.beta.1
- old
+ new
@@ -503,10 +503,11 @@
t.string "email"
t.string "password_digest"
t.integer "profile_id"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
+ t.string "provider"
end
add_index "identities", ["email"], name: "index_identities_on_email"
add_index "identities", ["name"], name: "index_identities_on_name"
add_index "identities", ["profile_id"], name: "index_identities_on_profile_id"
@@ -647,10 +648,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"
@@ -1351,10 +1364,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"
@@ -1419,9 +1433,10 @@
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"