Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2025-04-02 21:17:01 +02:00
5 Zeilen
172 B
MySQL
5 Zeilen
172 B
MySQL
![]() |
-- First remove the previous primary key
|
||
|
ALTER TABLE devices DROP CONSTRAINT devices_pkey;
|
||
|
-- Add a new combined one
|
||
|
ALTER TABLE devices ADD PRIMARY KEY (uuid, user_uuid);
|