Notes/db/migrations/0229__add_oauth_user_data_table.sql

14 lines
306 B
MySQL
Raw Normal View History

2025-03-29 01:44:25 +01:00
-- Add the oauth user data table
CREATE TABLE IF NOT EXISTS "user_data"
(
tmpID INT,
username TEXT,
email TEXT,
userIDEncryptedDataKey TEXT,
userIDVerificationHash TEXT,
salt TEXT,
derivedKey TEXT,
isSetup TEXT DEFAULT "false",
UNIQUE (tmpID),
PRIMARY KEY (tmpID)
);