mirror of
https://github.com/knadh/listmonk.git
synced 2024-09-20 07:16:33 +08:00
Add avatar
field to user schema for OIDC avatars.
This commit is contained in:
parent
f13e9ff962
commit
9162e6f772
|
@ -323,6 +323,7 @@ CREATE TABLE users (
|
||||||
password TEXT NULL,
|
password TEXT NULL,
|
||||||
email TEXT NOT NULL UNIQUE,
|
email TEXT NOT NULL UNIQUE,
|
||||||
name TEXT NOT NULL,
|
name TEXT NOT NULL,
|
||||||
|
avatar TEXT NULL,
|
||||||
type user_type NOT NULL DEFAULT 'user',
|
type user_type NOT NULL DEFAULT 'user',
|
||||||
role_id INTEGER NOT NULL REFERENCES user_roles(id) ON DELETE RESTRICT,
|
role_id INTEGER NOT NULL REFERENCES user_roles(id) ON DELETE RESTRICT,
|
||||||
status user_status NOT NULL DEFAULT 'disabled',
|
status user_status NOT NULL DEFAULT 'disabled',
|
||||||
|
|
Loading…
Reference in a new issue