users

-1 rows


Columns

Column Type Size Nulls Auto Default Children Parents Comments
id serial 10 nextval('users_id_seq'::regclass)
bookmarks.user_id bookmarks_user_id_fkey R
collections.user_id collections_user_id_fkey R
username text 2147483647 null
email text 2147483647 null
password text 2147483647 null
is_admin bool 1 false
tenant_id int4 10 null
tenants.id users_tenant_id_fkey R
created_at timestamptz 35,6 now()

Indexes

Constraint Name Type Sort Column(s)
users_pkey Primary key Asc id
users_email_tenant_unique Must be unique Asc/Asc email + tenant_id
users_username_tenant_unique Must be unique Asc/Asc username + tenant_id

Relationships