-- Free revive quota for non-subscribers (MVP: 2 lifetime revives unless subscription_active).

ALTER TABLE heroes
	ADD COLUMN IF NOT EXISTS revive_count INT NOT NULL DEFAULT 0,
	ADD COLUMN IF NOT EXISTS subscription_active BOOLEAN NOT NULL DEFAULT FALSE;

COMMENT ON COLUMN heroes.revive_count IS 'Number of revives consumed (free tier capped at 2 without subscription).';
COMMENT ON COLUMN heroes.subscription_active IS 'When true, revive limit does not apply.';
