mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2024-12-24 11:55:47 +00:00
25 lines
717 B
MySQL
25 lines
717 B
MySQL
|
CREATE TABLE sends (
|
||
|
uuid TEXT NOT NULL PRIMARY KEY,
|
||
|
user_uuid TEXT REFERENCES users (uuid),
|
||
|
organization_uuid TEXT REFERENCES organizations (uuid),
|
||
|
|
||
|
name TEXT NOT NULL,
|
||
|
notes TEXT,
|
||
|
|
||
|
atype INTEGER NOT NULL,
|
||
|
data TEXT NOT NULL,
|
||
|
key TEXT NOT NULL,
|
||
|
password_hash BLOB,
|
||
|
password_salt BLOB,
|
||
|
password_iter INTEGER,
|
||
|
|
||
|
max_access_count INTEGER,
|
||
|
access_count INTEGER NOT NULL,
|
||
|
|
||
|
creation_date DATETIME NOT NULL,
|
||
|
revision_date DATETIME NOT NULL,
|
||
|
expiration_date DATETIME,
|
||
|
deletion_date DATETIME NOT NULL,
|
||
|
|
||
|
disabled BOOLEAN NOT NULL
|
||
|
);
|