mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-12-04 22:14:51 +01:00
20 lines
584 B
MySQL
20 lines
584 B
MySQL
|
CREATE TABLE event (
|
||
|
uuid CHAR(36) NOT NULL PRIMARY KEY,
|
||
|
event_type INTEGER NOT NULL,
|
||
|
user_uuid CHAR(36),
|
||
|
org_uuid CHAR(36),
|
||
|
cipher_uuid CHAR(36),
|
||
|
collection_uuid CHAR(36),
|
||
|
group_uuid CHAR(36),
|
||
|
org_user_uuid CHAR(36),
|
||
|
act_user_uuid CHAR(36),
|
||
|
device_type INTEGER,
|
||
|
ip_address TEXT,
|
||
|
event_date TIMESTAMP NOT NULL,
|
||
|
policy_uuid CHAR(36),
|
||
|
provider_uuid CHAR(36),
|
||
|
provider_user_uuid CHAR(36),
|
||
|
provider_org_uuid CHAR(36),
|
||
|
UNIQUE (uuid)
|
||
|
);
|