You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
231 B
10 lines
231 B
4 years ago
|
CREATE TABLE favorites (
|
||
|
user_uuid VARCHAR(40) NOT NULL REFERENCES users(uuid),
|
||
|
cipher_uuid VARCHAR(40) NOT NULL REFERENCES ciphers(uuid),
|
||
|
|
||
|
PRIMARY KEY (user_uuid, cipher_uuid)
|
||
|
);
|
||
|
|
||
|
ALTER TABLE ciphers
|
||
|
DROP COLUMN favorite;
|