db/schema.rb in iqvoc-4.10.0 vs db/schema.rb in iqvoc-4.11.0
- old
+ new
@@ -18,11 +18,11 @@
t.integer "target_id", limit: 4
t.string "type", limit: 255
end
add_index "collection_members", ["collection_id", "target_id", "type"], name: "ix_collections_fk_type", using: :btree
- add_index "collection_members", ["target_id"], name: "fk_rails_677feefc03", using: :btree
+ add_index "collection_members", ["target_id"], name: "fk_rails_2a51b48094", using: :btree
create_table "concept_relations", force: :cascade do |t|
t.string "type", limit: 255
t.integer "owner_id", limit: 4
t.integer "target_id", limit: 4
@@ -30,29 +30,29 @@
t.datetime "updated_at"
t.integer "rank", limit: 4, default: 100
end
add_index "concept_relations", ["owner_id", "target_id"], name: "ix_concept_relations_fk", using: :btree
- add_index "concept_relations", ["target_id"], name: "fk_rails_fdb9a8342e", using: :btree
+ add_index "concept_relations", ["target_id"], name: "fk_rails_fd6c6e6fd7", using: :btree
create_table "concepts", force: :cascade do |t|
t.string "type", limit: 255
t.string "origin", limit: 4000
t.integer "rev", limit: 4, default: 1
t.date "published_at"
t.integer "published_version_id", limit: 4
t.integer "locked_by", limit: 4
t.date "expired_at"
t.date "follow_up"
- t.boolean "to_review", limit: 1
+ t.boolean "to_review"
t.date "rdf_updated_at"
t.datetime "created_at"
t.datetime "updated_at"
- t.boolean "top_term", limit: 1, default: false
+ t.boolean "top_term", default: false
end
- add_index "concepts", ["locked_by"], name: "fk_rails_be867cf8c7", using: :btree
+ add_index "concepts", ["locked_by"], name: "fk_rails_69655c7fd3", using: :btree
add_index "concepts", ["origin"], name: "ix_concepts_on_origin", length: {"origin"=>255}, using: :btree
add_index "concepts", ["published_version_id"], name: "ix_concepts_publ_version_id", using: :btree
create_table "configuration_settings", force: :cascade do |t|
t.string "key", limit: 255
@@ -84,11 +84,11 @@
add_index "delayed_jobs", ["queue"], name: "delayed_jobs_queue", using: :btree
create_table "exports", force: :cascade do |t|
t.integer "user_id", limit: 4
t.text "output", limit: 65535
- t.boolean "success", limit: 1, default: false
+ t.boolean "success", default: false
t.integer "file_type", limit: 4
t.string "token", limit: 255
t.datetime "created_at"
t.datetime "updated_at"
t.datetime "finished_at"
@@ -98,16 +98,16 @@
add_index "exports", ["user_id"], name: "index_exports_on_user_id", using: :btree
create_table "imports", force: :cascade do |t|
t.integer "user_id", limit: 4
t.text "output", limit: 65535
- t.boolean "success", limit: 1, default: false
+ t.boolean "success", default: false
t.datetime "created_at"
t.datetime "updated_at"
t.datetime "finished_at"
t.string "import_file", limit: 255
- t.boolean "publish", limit: 1
+ t.boolean "publish"
t.string "default_namespace", limit: 255
end
add_index "imports", ["user_id"], name: "index_imports_on_user_id", using: :btree
@@ -118,11 +118,11 @@
t.datetime "created_at"
t.datetime "updated_at"
end
add_index "labelings", ["owner_id", "target_id", "type"], name: "ix_labelings_fk_type", using: :btree
- add_index "labelings", ["target_id"], name: "fk_rails_4926ce64b9", using: :btree
+ add_index "labelings", ["target_id"], name: "fk_rails_5897707e64", using: :btree
add_index "labelings", ["type"], name: "ix_labelings_on_type", using: :btree
create_table "labels", force: :cascade do |t|
t.string "type", limit: 255
t.string "origin", limit: 4000
@@ -184,10 +184,10 @@
create_table "users", force: :cascade do |t|
t.string "forename", limit: 255
t.string "surname", limit: 255
t.string "email", limit: 255
t.string "crypted_password", limit: 255
- t.boolean "active", limit: 1
+ t.boolean "active"
t.datetime "created_at"
t.datetime "updated_at"
t.string "password_salt", limit: 255
t.string "persistence_token", limit: 255
t.string "perishable_token", limit: 255