Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-24 05:30:28 +01:00
19 Zeilen
718 B
MySQL
19 Zeilen
718 B
MySQL
|
CREATE TABLE auth_requests (
|
||
|
uuid CHAR(36) NOT NULL PRIMARY KEY,
|
||
|
user_uuid CHAR(36) NOT NULL,
|
||
|
organization_uuid CHAR(36),
|
||
|
request_device_identifier CHAR(36) NOT NULL,
|
||
|
device_type INTEGER NOT NULL,
|
||
|
request_ip TEXT NOT NULL,
|
||
|
response_device_id CHAR(36),
|
||
|
access_code TEXT NOT NULL,
|
||
|
public_key TEXT NOT NULL,
|
||
|
enc_key TEXT NOT NULL,
|
||
|
master_password_hash TEXT NOT NULL,
|
||
|
approved BOOLEAN,
|
||
|
creation_date DATETIME NOT NULL,
|
||
|
response_date DATETIME,
|
||
|
authentication_date DATETIME,
|
||
|
FOREIGN KEY(user_uuid) REFERENCES users(uuid),
|
||
|
FOREIGN KEY(organization_uuid) REFERENCES organizations(uuid)
|
||
|
);
|