Spiegel von
https://github.com/dani-garcia/vaultwarden.git
synchronisiert 2024-08-20 02:45:25 +02:00
![BlackDex](/assets/img/avatar_default.png)
- Updated jsonwebtoken to latest version - Trim `username` received from the login form ( Fixes #2348 ) - Make uuid and user_uuid a combined primary key for the devices table ( Fixes #2295 ) - Updated crates including regex which contains a CVE ( https://blog.rust-lang.org/2022/03/08/cve-2022-24713.html )
4 Zeilen
172 B
SQL
4 Zeilen
172 B
SQL
-- 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);
|