test/support/schema.rb in abstract_importer-1.4.1 vs test/support/schema.rb in abstract_importer-1.5.0

- old
+ new

@@ -9,26 +9,26 @@ t.string "name" t.string "house" t.string "pet_type" t.integer "pet_id" t.index "name", :unique => true - t.index "legacy_id", :unique => true + t.index ["account_id", "legacy_id"], :unique => true end create_table "parents", :force => true do |t| t.integer "account_id" t.integer "student_id" t.integer "legacy_id" t.string "name" - t.index "legacy_id", :unique => true + t.index ["account_id", "legacy_id"], :unique => true end create_table "locations", :force => true do |t| t.integer "account_id" t.integer "legacy_id" t.string "slug" - t.index "legacy_id", :unique => true + t.index ["account_id", "legacy_id"], :unique => true end create_table "students_subjects", :force => true do |t| t.integer "student_id" t.integer "subject_id" @@ -36,33 +36,33 @@ create_table "subjects", :force => true do |t| t.integer "account_id" t.integer "legacy_id" t.string "name" - t.index "legacy_id", :unique => true + t.index ["account_id", "legacy_id"], :unique => true end create_table "grades", :force => true do |t| t.integer "account_id" t.integer "subject_id" t.integer "student_id" t.integer "legacy_id" t.string "value" - t.index "legacy_id", :unique => true + t.index ["account_id", "legacy_id"], :unique => true end create_table "owls", :force => true do |t| t.integer "account_id" t.integer "legacy_id" t.string "name" - t.index "legacy_id", :unique => true + t.index ["account_id", "legacy_id"], :unique => true end create_table "cats", :force => true do |t| t.integer "account_id" t.integer "legacy_id" t.string "name" - t.index "legacy_id", :unique => true + t.index ["account_id", "legacy_id"], :unique => true end create_table "abilities", :force => true do |t| t.string "pet_type" t.integer "pet_id"