1
0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2024-09-22 18:31:31 +02:00
Vaultwarden/migrations/2018-05-08-161616_create_collection_cipher_map/up.sql

5 lines
206 B
MySQL
Raw Normal View History

2018-05-09 12:55:05 +02:00
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)
);