Skip to content

Commit 4e3308d

Browse files
committed
Consolidate district migrations into single migration with unique index
1 parent e2e235a commit 4e3308d

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

db/migrate/20251120145032_add_district_fields_to_schools.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ def change
33
add_column :schools, :district_name, :string
44
add_column :schools, :district_nces_id, :string
55

6-
add_index :schools, :district_nces_id
6+
add_index :schools, :district_nces_id, unique: true
77
end
88
end

db/migrate/20251121101546_make_district_nces_id_unique.rb

Lines changed: 0 additions & 6 deletions
This file was deleted.

0 commit comments

Comments
 (0)