hensei-api/db/migrate/20251217195837_add_deleted_at_to_phantom_players.rb
Justin Edmund 5afd31fdb6 soft delete phantoms after claim confirmation
keeps phantom records for logging, excludes from all queries
2025-12-17 20:08:28 -08:00

8 lines
220 B
Ruby

# frozen_string_literal: true
class AddDeletedAtToPhantomPlayers < ActiveRecord::Migration[8.0]
def change
add_column :phantom_players, :deleted_at, :datetime
add_index :phantom_players, :deleted_at
end
end