Skip to content

Commit ba21263

Browse files
Mohamed AliMohamed-RPF
authored andcommitted
Add district_name and district_nces_id fields to schools
1 parent a44daab commit ba21263

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)