mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-10 17:21:38 -05:00
8 lines
214 B
Ruby
8 lines
214 B
Ruby
class AddDeletedAtToUsers < ActiveRecord::Migration[8.0]
|
|
disable_ddl_transaction!
|
|
|
|
def change
|
|
add_column :users, :deleted_at, :datetime
|
|
add_index :users, :deleted_at, algorithm: :concurrently
|
|
end
|
|
end
|