owpengram-server/deploy/migrations/0017_login_email.up.sql

4 lines
351 B
SQL
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

-- 登录邮箱login email独立于 2FA 恢复邮箱的备用登录方式。新设备登录时验证码
-- 改投递到该邮箱auth.sentCodeTypeEmailCode。仅存已确认的真实地址下发时掩码。
ALTER TABLE public.account_passwords
ADD COLUMN login_email character varying(256) DEFAULT ''::character varying NOT NULL;