mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-05-29 15:03:57 +00:00
user char(36) for uuid columns
This commit is contained in:
parent
4c9cc9890c
commit
6c38026ef5
6 changed files with 27 additions and 27 deletions
|
@ -1,6 +1,6 @@
|
|||
CREATE TABLE twofactor (
|
||||
uuid VARCHAR(40) NOT NULL PRIMARY KEY,
|
||||
user_uuid VARCHAR(40) NOT NULL REFERENCES users (uuid),
|
||||
uuid CHAR(36) NOT NULL PRIMARY KEY,
|
||||
user_uuid CHAR(36) NOT NULL REFERENCES users (uuid),
|
||||
type INTEGER NOT NULL,
|
||||
enabled BOOLEAN NOT NULL,
|
||||
data TEXT NOT NULL,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue