chatdesk-ui/auth_v2.169.0/migrations/20220323170000_add_user_rea...

6 lines
272 B
SQL

-- adds reauthentication_token and reauthentication_sent_at
ALTER TABLE {{ index .Options "Namespace" }}.users
ADD COLUMN IF NOT EXISTS reauthentication_token varchar(255) null default '',
ADD COLUMN IF NOT EXISTS reauthentication_sent_at timestamptz null default null;