feat(db): added role_id to users

This commit is contained in:
Taha Yassine Kraiem 2021-11-24 19:12:31 +01:00
parent 8a24e0a726
commit 5fc9ce5bdd

View file

@ -204,7 +204,8 @@ $$
jwt_iat timestamp without time zone NULL DEFAULT NULL,
data jsonb NOT NULL DEFAULT '{}'::jsonb,
weekly_report boolean NOT NULL DEFAULT TRUE,
origin user_origin NULL DEFAULT NULL
origin user_origin NULL DEFAULT NULL,
role_id integer REFERENCES roles (role_id) ON DELETE SET NULL
);