mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-11-24 13:55:40 +03:00
4ab9362971
Signed-off-by: thelittlefireman <thelittlefireman@users.noreply.github.com>
14 lines
No EOL
615 B
SQL
14 lines
No EOL
615 B
SQL
CREATE TABLE emergency_access (
|
|
uuid CHAR(36) NOT NULL PRIMARY KEY,
|
|
grantor_uuid CHAR(36) REFERENCES users (uuid),
|
|
grantee_uuid CHAR(36) REFERENCES users (uuid),
|
|
email VARCHAR(255),
|
|
key_encrypted TEXT,
|
|
atype INTEGER NOT NULL,
|
|
status INTEGER NOT NULL,
|
|
wait_time_days INTEGER NOT NULL,
|
|
recovery_initiated_at DATETIME,
|
|
last_notification_at DATETIME,
|
|
updated_at DATETIME NOT NULL,
|
|
created_at DATETIME NOT NULL
|
|
); |