0
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden synced 2024-12-15 10:03:42 +01:00
bitwarden_rs/migrations/2018-05-08-161616_create_collection_cipher_map/up.sql
2019-05-20 21:12:41 +02:00

5 lines
221 B
SQL

CREATE TABLE ciphers_collections (
cipher_uuid VARCHAR(40) NOT NULL REFERENCES ciphers (uuid),
collection_uuid VARCHAR(40) NOT NULL REFERENCES collections (uuid),
PRIMARY KEY (cipher_uuid, collection_uuid)
);