Implement Collection-Cipher mapping

This commit is contained in:
Miroslav Prasil committed 2018-05-11 21:08:14 +01:00
1 parent 032134aabc
commit 34f2aa68f4
8 files changed
+125 -3

No files matched your search

@@ -0,0 +1 @@
DROP TABLE ciphers_collections;
@@ -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)
);