vaultwarden/migrations/2018-05-08-161616_create_collection_cipher_map/up.sql
2018-05-11 21:08:14 +01:00

5 lines
No EOL
206 B
SQL

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)
);