vaultwarden/migrations/mysql/2018-05-08-161616_create_collection_cipher_map/up.sql

6 lines
215 B
MySQL
Raw Normal View History

2018-05-09 12:55:05 +02:00
CREATE TABLE ciphers_collections (
2019-05-27 17:20:20 +02:00
cipher_uuid CHAR(36) NOT NULL REFERENCES ciphers (uuid),
collection_uuid CHAR(36) NOT NULL REFERENCES collections (uuid),
2018-05-09 12:55:05 +02:00
PRIMARY KEY (cipher_uuid, collection_uuid)
2019-05-20 21:12:41 +02:00
);