ALTER TABLE subscriptions ADD COLUMN unsubscribe_token TEXT UNIQUE;

UPDATE subscriptions
SET unsubscribe_token = left(md5(random()::text), 25) 
WHERE status = 'confirmed' AND unsubscribe_token IS NULL;
