1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-08-15 23:42:31 +00:00

Implement Collection-Cipher mapping

This commit is contained in:
Miroslav Prasil 2018-05-09 11:55:05 +01:00
commit 34f2aa68f4
8 changed files with 125 additions and 3 deletions

View file

@ -0,0 +1 @@
DROP TABLE ciphers_collections;

View file

@ -0,0 +1,5 @@
CREATE TABLE ciphers_collections (
cipher_uuid TEXT NOT NULL REFERENCES ciphers (uuid),
collection_uuid TEXT NOT NULL REFERENCES collections (uuid),
PRIMARY KEY (cipher_uuid, collection_uuid)
);