eBooru/db/migrate/20240101042716_user_feedback_add_updater_id.rb
Earlopain fc7d84affd
[RuboCop] Enable Style/FrozenStringLiteralComment
This reduces allocations on the posts page by about 5%, from basic testing
2024-02-25 18:15:55 +01:00

9 lines
233 B
Ruby

# frozen_string_literal: true
class UserFeedbackAddUpdaterId < ActiveRecord::Migration[7.0]
def change
add_column :user_feedback, :updater_id, :integer
add_foreign_key :user_feedback, :users, column: :updater_id
end
end