refact round

This commit is contained in:
2026-08-04 15:45:13 +02:00
parent 24ba77a0f2
commit 724e5bc748
38 changed files with 129 additions and 112 deletions
@@ -0,0 +1,8 @@
class AddDeletedAtToMissingModels < ActiveRecord::Migration[8.0]
def change
%i[images members downloads admin_users].each do |table|
add_column table, :deleted_at, :datetime, precision: 3
add_index table, :deleted_at, name: "idx_#{table}_deleted_at"
end
end
end