spec/dummy/db/schema.rb in enju_oai-0.1.0.pre17 vs spec/dummy/db/schema.rb in enju_oai-0.1.0.pre18
- 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: 20141014065831) do
+ActiveRecord::Schema.define(version: 20150221063719) do
create_table "accepts", force: :cascade do |t|
t.integer "basket_id"
t.integer "item_id"
t.integer "librarian_id"
@@ -685,10 +685,11 @@
t.integer "position"
t.datetime "created_at"
t.datetime "updated_at"
t.text "admin_networks"
t.string "url", default: "http://localhost:3000/"
+ t.text "settings"
end
add_index "library_groups", ["short_name"], name: "index_library_groups_on_short_name"
create_table "licenses", force: :cascade do |t|
@@ -805,10 +806,11 @@
t.boolean "subscription_master", default: false, null: false
t.string "attachment_file_name"
t.string "attachment_content_type"
t.integer "attachment_file_size"
t.datetime "attachment_updated_at"
+ t.integer "nii_type_id"
t.text "title_alternative_transcription"
t.text "description"
t.text "abstract"
t.datetime "available_at"
t.datetime "valid_until"
@@ -833,19 +835,31 @@
end
add_index "manifestations", ["access_address"], name: "index_manifestations_on_access_address"
add_index "manifestations", ["date_of_publication"], name: "index_manifestations_on_date_of_publication"
add_index "manifestations", ["manifestation_identifier"], name: "index_manifestations_on_manifestation_identifier"
+ add_index "manifestations", ["nii_type_id"], name: "index_manifestations_on_nii_type_id"
add_index "manifestations", ["updated_at"], name: "index_manifestations_on_updated_at"
create_table "medium_of_performances", force: :cascade do |t|
t.string "name", null: false
t.text "display_name"
t.text "note"
t.integer "position"
t.datetime "created_at"
t.datetime "updated_at"
end
+
+ create_table "nii_types", force: :cascade do |t|
+ t.string "name", null: false
+ t.text "display_name"
+ t.text "note"
+ t.integer "position"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
+ add_index "nii_types", ["name"], name: "index_nii_types_on_name", unique: true
create_table "owns", force: :cascade do |t|
t.integer "agent_id", null: false
t.integer "item_id", null: false
t.integer "position"