mirror of
https://github.com/dani-garcia/vaultwarden
synced 2024-12-16 18:43:45 +01:00
20 lines
535 B
MySQL
20 lines
535 B
MySQL
|
CREATE TABLE event (
|
||
|
uuid TEXT NOT NULL PRIMARY KEY,
|
||
|
event_type INTEGER NOT NULL,
|
||
|
user_uuid TEXT,
|
||
|
org_uuid TEXT,
|
||
|
cipher_uuid TEXT,
|
||
|
collection_uuid TEXT,
|
||
|
group_uuid TEXT,
|
||
|
org_user_uuid TEXT,
|
||
|
act_user_uuid TEXT,
|
||
|
device_type INTEGER,
|
||
|
ip_address TEXT,
|
||
|
event_date DATETIME NOT NULL,
|
||
|
policy_uuid TEXT,
|
||
|
provider_uuid TEXT,
|
||
|
provider_user_uuid TEXT,
|
||
|
provider_org_uuid TEXT,
|
||
|
UNIQUE (uuid)
|
||
|
);
|