Перейти к содержанию

suo_users

Записей: ~10

Колонки

Колонка Тип Nullable Default Описание
id 🔑 integer(32) NOT NULL nextval('suo_users_id_seq':...
shared_employee_id integer(32) NOT NULL
suo_organization_id integer(32) NOT NULL → suo_organizations(id)
is_active boolean NOT NULL
created_at timestamp with time zone NULL now()
updated_at timestamp with time zone NULL now()
supervisor_id integer(32) NULL → suo_users(id)

🔑 = Primary Key, → = Foreign Key

Индексы

Имя Определение
ix_suo_users_id CREATE INDEX ix_suo_users_id ON public.suo_users USING btree (id)
suo_users_pkey CREATE UNIQUE INDEX suo_users_pkey ON public.suo_users USING btree (id)
suo_users_shared_employee_id_key CREATE UNIQUE INDEX suo_users_shared_employee_id_key ON public.suo_users USIN...

Foreign Keys

Колонка Ссылка на
suo_organization_id suo_organizations(id)
supervisor_id suo_users(id)

Используется в