test/support/schema.rb in abstract_importer-1.2.1 vs test/support/schema.rb in abstract_importer-1.3.0
- old
+ new
@@ -1,36 +1,37 @@
ActiveRecord::Schema.define(:version => 1) do
-
+
create_table "accounts", :force => true do |t|
end
-
+
create_table "students", :force => true do |t|
t.integer "account_id"
t.integer "legacy_id"
t.string "name"
t.string "house"
t.string "pet_type"
t.integer "pet_id"
+ t.index "name", :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"
end
-
+
create_table "locations", :force => true do |t|
t.integer "account_id"
t.integer "legacy_id"
t.string "slug"
end
-
+
create_table "students_subjects", :force => true do |t|
t.integer "student_id"
t.integer "subject_id"
end
-
+
create_table "subjects", :force => true do |t|
t.integer "account_id"
t.integer "legacy_id"
t.string "name"
end