db/migrate/20100927101502_create_schema.rb in iqvoc-4.3.1 vs db/migrate/20100927101502_create_schema.rb in iqvoc-4.3.2

- old
+ new

@@ -45,11 +45,11 @@ add_index "concept_relations", ["owner_id", "target_id"], :name => "ix_concept_relations_fk" create_table "concepts", :force => true do |t| t.string "type" - t.string "origin" + t.string "origin", :limit => 4000 t.integer "rev", :default => 1 t.date "published_at" t.integer "published_version_id" t.integer "locked_by" t.date "expired_at" @@ -58,11 +58,11 @@ t.date "rdf_updated_at" t.datetime "created_at" t.datetime "updated_at" end - add_index "concepts", ["origin"], :name => "ix_concepts_on_origin" + add_index "concepts", ["origin"], :name => "ix_concepts_on_origin", :length => 255 add_index "concepts", ["published_version_id"], :name => "ix_concepts_publ_version_id" create_table "label_relations", :force => true do |t| t.string "type" t.integer "domain_id" @@ -85,11 +85,11 @@ add_index "labelings", ["owner_id", "target_id", "type"], :name => "ix_labelings_fk_type" add_index "labelings", ["type"], :name => "ix_labelings_on_type" create_table "labels", :force => true do |t| t.string "type" - t.string "origin" + t.string "origin", :limit => 4000 t.string "language" t.string "value", :limit => 1024 t.integer "rev", :default => 1 t.integer "published_version_id" t.date "published_at" @@ -101,11 +101,10 @@ t.datetime "created_at" t.datetime "updated_at" end add_index "labels", ["language"], :name => "ix_labels_on_language" - add_index "labels", ["origin"], :name => "ix_labels_on_origin" - add_index "labels", ["value"], :name => "ix_labels_on_value" + add_index "labels", ["origin"], :name => "ix_labels_on_origin", :length => 255 add_index "labels", ["published_version_id"], :name => "ix_labels_published_version_id" create_table "matches", :force => true do |t| t.integer "concept_id" t.string "type"