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
ce9d93003cd37a79edba1ba830a6c6d3fa22c2c8
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: 224ms Template: 5ms
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