eBooru/db/fixes/115_convert_user_feedback_delete_modactions.rb

7 lines
244 B
Ruby
Raw Permalink Normal View History

#!/usr/bin/env ruby
# frozen_string_literal: true
require File.expand_path(File.join(File.dirname(__FILE__), "..", "..", "config", "environment"))
ModAction.where(action: "user_feedback_delete").update_all("action = 'user_feedback_destroy'")