1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-11-25 12:22:42 +01:00
Vaultwarden/migrations/mysql/2018-05-08-161616_create_collection_cipher_map/up.sql
2019-05-27 17:20:20 +02:00

6 lines
215 B
SQL

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