Skip to content

public.github_app_installations

Description

Columns

NameTypeDefaultNullableChildrenParentsComment
iduuidgen_random_uuid()false
installation_idbigintfalse
account_typegithub_account_typefalse
account_idbigintfalse
account_loginvarchar(255)false
account_avatar_urltexttrue
installer_user_iduuidtruepublic.users
suspended_attimestamp with time zonetrue
created_attimestamp with time zonenow()false
updated_attimestamp with time zonenow()false

Constraints

NameTypeDefinition
fk_github_app_installations_installerFOREIGN KEYFOREIGN KEY (installer_user_id) REFERENCES users(id) ON DELETE SET NULL
github_app_installations_pkeyPRIMARY KEYPRIMARY KEY (id)
uq_github_app_installations_accountUNIQUEUNIQUE (account_type, account_id)
uq_github_app_installations_installation_idUNIQUEUNIQUE (installation_id)

Indexes

NameDefinition
github_app_installations_pkeyCREATE UNIQUE INDEX github_app_installations_pkey ON public.github_app_installations USING btree (id)
uq_github_app_installations_accountCREATE UNIQUE INDEX uq_github_app_installations_account ON public.github_app_installations USING btree (account_type, account_id)
uq_github_app_installations_installation_idCREATE UNIQUE INDEX uq_github_app_installations_installation_id ON public.github_app_installations USING btree (installation_id)
idx_github_app_installations_installerCREATE INDEX idx_github_app_installations_installer ON public.github_app_installations USING btree (installer_user_id) WHERE (installer_user_id IS NOT NULL)

Relations


Generated by tbls

Open-source test coverage insights