Skip to content

Commit a6c08c7

Browse files
Mohamed AliMohamed Ali
authored andcommitted
Add district_name and district_nces_id fields to schools
1 parent f8689ca commit a6c08c7

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
class AddDistrictFieldsToSchools < ActiveRecord::Migration[7.2]
2+
def change
3+
add_column :schools, :district_name, :string
4+
add_column :schools, :district_nces_id, :string
5+
6+
add_index :schools, :district_nces_id
7+
end
8+
end

db/schema.rb

Lines changed: 4 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)