user char(36) for uuid columns

This commit is contained in:
Nils Domrose committed 2019-05-27 17:20:20 +02:00
1 parent 4c9cc9890c
commit 6c38026ef5
6 files changed
+27 -27

No files matched your search

@@ -1,5 +1,5 @@
CREATE TABLE ciphers_collections (
cipher_uuid VARCHAR(40) NOT NULL REFERENCES ciphers (uuid),
collection_uuid VARCHAR(40) NOT NULL REFERENCES collections (uuid),
cipher_uuid CHAR(36) NOT NULL REFERENCES ciphers (uuid),
collection_uuid CHAR(36) NOT NULL REFERENCES collections (uuid),
PRIMARY KEY (cipher_uuid, collection_uuid)
);