0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-01-07 01:00:08 -05:00
vaultwarden/migrations/sqlite/2019-11-17-011009_add_email_verification/up.sql

5 lines
332 B
SQL

ALTER TABLE users ADD COLUMN verified_at DATETIME DEFAULT NULL;
ALTER TABLE users ADD COLUMN last_verifying_at DATETIME DEFAULT NULL;
ALTER TABLE users ADD COLUMN login_verify_count INTEGER NOT NULL DEFAULT 0;
ALTER TABLE users ADD COLUMN email_new TEXT DEFAULT NULL;
ALTER TABLE users ADD COLUMN email_new_token TEXT DEFAULT NULL;