residency/db/migrate/20230603150133_fix_column_name.rb

7 lines
166 B
Ruby
Raw Normal View History

2023-06-18 10:23:46 +02:00
class FixColumnName < ActiveRecord::Migration[7.0]
def change
rename_column :members, :left, :leaving
rename_column :members, :arrived, :arriving
end
end