residency/db/migrate/20230603150133_fix_column_name.rb
2023-06-18 11:23:46 +03:00

7 lines
166 B
Ruby

class FixColumnName < ActiveRecord::Migration[7.0]
def change
rename_column :members, :left, :leaving
rename_column :members, :arrived, :arriving
end
end