Logo
Explore Help
Register Sign In
starred/vaultwarden
1
0
Fork 0
You've already forked vaultwarden
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-12-17 01:10:53 +03:00
Code Issues 429 Packages Projects Releases 10 Wiki Activity
Files
ca1a9e26d82815c35e0814824d1083bbe56347f9
vaultwarden/migrations/postgresql/2022-03-02-210038_update_devices_primary_key/up.sql

5 lines
172 B
MySQL
Raw Normal View History

Update login API code - 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 )
2022-03-03 21:00:10 +01:00
-- 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);
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.2 Page: 73ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API