volunteers/db/migrate/20230603150133_fix_column_name.rb

7 lines
166 B
Ruby
Raw Permalink Normal View History

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