retrospring/db/migrate/20231026032527_rename_appendable_to_reaction.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
205 B
Ruby
Raw Normal View History

2023-10-26 06:05:14 +02:00
# frozen_string_literal: true
class RenameAppendableToReaction < ActiveRecord::Migration[7.0]
def change
rename_table :appendables, :reactions
2023-10-26 06:05:14 +02:00
remove_column :reactions, :type, :string
end
end