Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-11-09 03:07:59 +01:00
5 Zeilen
160 B
MySQL
5 Zeilen
160 B
MySQL
|
-- First remove the previous primary key
|
||
|
ALTER TABLE devices DROP PRIMARY KEY;
|
||
|
-- Add a new combined one
|
||
|
ALTER TABLE devices ADD PRIMARY KEY (uuid, user_uuid);
|