mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-28 18:42:28 +08:00
14 lines
306 B
SQL
14 lines
306 B
SQL
-- 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)
|
|
); |