retrospring/db/migrate/20231026032527_rename_appendable_to_reaction.rb
2023-10-28 02:44:48 +02:00

8 lines
205 B
Ruby

# frozen_string_literal: true
class RenameAppendableToReaction < ActiveRecord::Migration[7.0]
def change
rename_table :appendables, :reactions
remove_column :reactions, :type, :string
end
end