school_app/db/migrate/20250909091442_add_school_i...

6 lines
129 B
Ruby

class AddSchoolIdToStudents < ActiveRecord::Migration[8.0]
def change
add_column :students, :school_id, :integer
end
end