Skip to main content

Database tables

The API stores its data in a relational database, which can be MySQL, PostgreSQL or SQLite. This page lists every table. For each table it lists the columns with their type, whether they may be null, their key, the column that they reference and their server default, followed by the table's indexes and constraints.

The SQLAlchemy models in backend-api/backend/api/models declare the tables, and Alembic migrations in backend-api/backend/alembic/versions create and change them. The column types are those of the SQLAlchemy types, as the models name them. The page is generated from backend-api/backend/reference-data/database_schema.json, which the backend's exporter writes from the models.

Tables​

api_source​

Columns

ColumnTypeNullKeyReferencesServer default
nameVARCHAR(200)no
urlTEXTno
user_uuidBINARY(16)yesindexeduser.uuid
endpointHeadersTEXTyes
entity_uuidBINARY(16)yesindexedentity.uuid (on delete CASCADE)
mcp_serversJSONyes
enabledBOOLEANnotrue
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_api_source_entity_uuid on entity_uuid
  • Index ix_api_source_user_uuid on user_uuid
  • Index ix_user_entity_name_api_source on entity_uuid, name, user_uuid

audit_entity_roles_permissions​

Columns

ColumnTypeNullKeyReferencesServer default
entity_uuidBINARY(16)noindexedentity.uuid (on delete CASCADE)
role_uuidBINARY(16)noindexedrole.uuid
actionVARCHAR(100)no
resource_typeVARCHAR(100)no
resource_uuidBINARY(16)noindexed
performed_by_uuidBINARY(16)noindexeduser.uuid
detailsMEDIUMBLOBno
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_audit_entity_roles_permissions_entity_uuid on entity_uuid
  • Index ix_audit_entity_roles_permissions_performed_by_uuid on performed_by_uuid
  • Index ix_audit_entity_roles_permissions_resource_uuid on resource_uuid
  • Index ix_audit_entity_roles_permissions_role_uuid on role_uuid

copilot_chat​

Columns

ColumnTypeNullKeyReferencesServer default
user_uuidBINARY(16)noindexeduser.uuid
contentMEDIUMBLOByes
artifactsLONGBLOByes
labelTEXTyes
last_openedDATETIMEyes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_copilot_chat_search on label
  • Index ix_copilot_chat_user_uuid on user_uuid

copilot_messages​

Columns

ColumnTypeNullKeyReferencesServer default
user_uuidBINARY(16)nouser.uuid
chat_uuidBINARY(16)nocopilot_chat.uuid (on delete CASCADE)
contentMEDIUMBLOByes
searchable_contentTEXTyes
roleVARCHAR(7)no
created_dateDATETIMEyes
updated_dateDATETIMEyes
uuidBINARY(16)noprimary

Indexes and constraints

  • Index ix_user_chat_message on chat_uuid, user_uuid
  • Index ix_user_searchable_content on chat_uuid, role, user_uuid
  • Index ix_user_searchable_content_fulltext on searchable_content

custom_copilot​

Columns

ColumnTypeNullKeyReferencesServer default
user_uuidBINARY(16)noindexeduser.uuid
urlVARCHAR(200)no
headersTEXTyes
copilotsTEXTyes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_custom_copilot_user_uuid on user_uuid
  • Unique constraint uix_user_url_custom_copilot on url, user_uuid

dashboard_item​

Columns

ColumnTypeNullKeyReferencesServer default
creator_uuidBINARY(16)noindexeduser.uuid
owner_uuidBINARY(16)noindexeduser.uuid
entity_shareBOOLEANnoindexed
entity_uuidBINARY(16)yesindexedentity.uuid
contentLONGBLOByes
is_sharedBOOLEANnoindexed
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_dashboard_item_creator_uuid on creator_uuid
  • Index ix_dashboard_item_entity_share on entity_share
  • Index ix_dashboard_item_entity_uuid on entity_uuid
  • Index ix_dashboard_item_is_shared on is_shared
  • Index ix_dashboard_item_owner_uuid on owner_uuid

dashboard_save​

Columns

ColumnTypeNullKeyReferencesServer default
dashboard_item_uuidBINARY(16)noindexeddashboard_item.uuid (on delete CASCADE)
contentMEDIUMBLOByes
created_dateDATETIMEyes
updated_dateDATETIMEyes
uuidBINARY(16)noprimary

Indexes and constraints

  • Index ix_dashboard_save_dashboard_item_uuid on dashboard_item_uuid

dashboard_share​

Columns

ColumnTypeNullKeyReferencesServer default
dashboard_item_uuidBINARY(16)noindexeddashboard_item.uuid (on delete CASCADE)
shared_user_uuidBINARY(16)noindexeduser.uuid
activeBOOLEANnoindexed
permissionsVARCHAR(7)no
viewedBOOLEANnoindexed
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_dashboard_share_active on active
  • Index ix_dashboard_share_dashboard_item_uuid on dashboard_item_uuid
  • Index ix_dashboard_share_shared_user_uuid on shared_user_uuid
  • Index ix_dashboard_share_viewed on viewed

entity​

Columns

ColumnTypeNullKeyReferencesServer default
nameVARCHAR(100)yesunique
require_authenticatorBOOLEANno
sharing_enabledBOOLEANnotrue
disabledBOOLEANnofalse
deleted_atDATETIMEyes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Unique constraint on name

entity_theme_settings​

Columns

ColumnTypeNullKeyReferencesServer default
entity_uuidBINARY(16)noindexedentity.uuid (on delete CASCADE)
settingsMEDIUMBLOBno
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_entity_theme_settings_entity_uuid on entity_uuid

entity_viz_handler​

Columns

ColumnTypeNullKeyReferencesServer default
entity_uuidBINARY(16)noindexedentity.uuid (on delete CASCADE)
viz_typeVARCHAR(32)no
plugin_uuidBINARY(16)noindexedwidget_plugin.uuid (on delete CASCADE)
widget_idVARCHAR(48)no
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_entity_viz_handler_entity_uuid on entity_uuid
  • Index ix_entity_viz_handler_plugin_uuid on plugin_uuid
  • Unique constraint uix_entity_viz_handler on entity_uuid, viz_type

entity_widget_plugin​

Columns

ColumnTypeNullKeyReferencesServer default
entity_uuidBINARY(16)noindexedentity.uuid (on delete CASCADE)
plugin_uuidBINARY(16)noindexedwidget_plugin.uuid (on delete CASCADE)
enabledBOOLEANno
settingsJSONyes
narrowed_permissionsJSONyes
csp_narrowJSONyes
server_network_narrowJSONyes
data_sourcesJSONyes
preset_limitINTEGERyes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_entity_widget_plugin_entity_uuid on entity_uuid
  • Index ix_entity_widget_plugin_plugin_uuid on plugin_uuid
  • Unique constraint uix_entity_widget_plugin on entity_uuid, plugin_uuid

file_widget​

Columns

ColumnTypeNullKeyReferencesServer default
user_uuidBINARY(16)noindexeduser.uuid
urlTEXTno
nameTEXTno
extensionTEXTno
original_file_nameTEXTyes
data_keyTEXTyes
descriptionTEXTyes
categoryTEXTyes
sub_categoryTEXTyes
sourceTEXTyes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_file_widget_user_uuid on user_uuid

log​

Columns

ColumnTypeNullKeyReferencesServer default
requestTEXTyes
errorTEXTyes
status_codeINTEGERyes
methodTEXTyes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

login​

Columns

ColumnTypeNullKeyReferencesServer default
user_uuidBINARY(16)yesindexeduser.uuid
sourceVARCHAR(20)yes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_login_user_uuid on user_uuid

mcp_oauth_grant​

Columns

ColumnTypeNullKeyReferencesServer default
user_uuidBINARY(16)nouser.uuid (on delete CASCADE)
server_hashVARCHAR(64)no
credentialsTEXTno
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Unique constraint uix_mcp_oauth_grant_server on server_hash, user_uuid

mcp_servers​

Columns

ColumnTypeNullKeyReferencesServer default
user_uuidBINARY(16)noindexeduser.uuid
serversTEXTyes
headersTEXTyes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_mcp_servers_user_uuid on user_uuid

permissions_entity_map​

Columns

ColumnTypeNullKeyReferencesServer default
entity_uuidBINARY(16)noindexedentity.uuid (on delete CASCADE)
nameVARCHAR(100)no
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_permissions_entity_map_entity_uuid on entity_uuid

personal_access_token​

Columns

ColumnTypeNullKeyReferencesServer default
user_uuidBINARY(16)noindexeduser.uuid
nameVARCHAR(100)no
token_typeVARCHAR(50)noindexed
token_hashVARCHAR(128)no
token_prefixVARCHAR(20)noindexed
revoked_atDATETIMEyes
last_used_atDATETIMEyes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_personal_access_token_token_prefix on token_prefix
  • Index ix_personal_access_token_token_type on token_type
  • Index ix_personal_access_token_user_uuid on user_uuid
  • Index ix_personal_access_token_user_uuid_token_type on token_type, user_uuid
  • Unique constraint uq_personal_access_token_token_hash on token_hash

provider_session​

Columns

ColumnTypeNullKeyReferencesServer default
session_uuidBINARY(16)nounique
providerVARCHAR(20)no
id_tokenTEXTno
id_token_expires_atDATETIMEno
refresh_tokenTEXTno
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Unique constraint on session_uuid

role​

Columns

ColumnTypeNullKeyReferencesServer default
nameVARCHAR(100)no
descriptionTEXTno
sharingVARCHAR(10)nonone
copilot_calls_dayINTEGERyes
copilot_tokens_dayBIGINTyes
upload_size_gbINTEGERyes
search_webBOOLEANnotrue
fetch_from_webBOOLEANnotrue
entity_uuidBINARY(16)noindexedentity.uuid (on delete CASCADE)
deleted_atDATETIMEyes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_role_entity_uuid on entity_uuid
  • Unique constraint uix_role_entity_name_deleted_at on deleted_at, entity_uuid, name

role_backend​

Columns

ColumnTypeNullKeyReferencesServer default
role_uuidBINARY(16)noindexedrole.uuid (on delete CASCADE)
backend_uuidBINARY(16)noindexedapi_source.uuid (on delete CASCADE)
accessVARCHAR(100)no
widgetsMEDIUMBLOByes
templatesMEDIUMBLOByes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_role_backend_backend_uuid on backend_uuid
  • Index ix_role_backend_role_uuid on role_uuid

role_copilot_model​

Columns

ColumnTypeNullKeyReferencesServer default
role_uuidBINARY(16)noindexedrole.uuid (on delete CASCADE)
agent_idVARCHAR(255)no
model_idVARCHAR(255)no
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_role_copilot_model_role_uuid on role_uuid
  • Unique constraint uix_role_copilot_model on agent_id, model_id, role_uuid

role_file​

Columns

ColumnTypeNullKeyReferencesServer default
role_uuidBINARY(16)noindexedrole.uuid (on delete CASCADE)
file_uuidBINARY(16)noindexedfile_widget.uuid (on delete CASCADE)
accessVARCHAR(100)no
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_role_file_file_uuid on file_uuid
  • Index ix_role_file_role_uuid on role_uuid

role_mcp_access​

Columns

ColumnTypeNullKeyReferencesServer default
role_uuidBINARY(16)noindexedrole.uuid (on delete CASCADE)
server_urlVARCHAR(400)no
tool_nameVARCHAR(200)no
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_role_mcp_access_role_uuid on role_uuid
  • Unique constraint uix_role_mcp_access on role_uuid, server_url, tool_name

role_prompt​

Columns

ColumnTypeNullKeyReferencesServer default
role_uuidBINARY(16)noindexedrole.uuid (on delete CASCADE)
prompt_uuidBINARY(16)noindexeduser_prompts.uuid (on delete CASCADE)
accessVARCHAR(100)no
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_role_prompt_prompt_uuid on prompt_uuid
  • Index ix_role_prompt_role_uuid on role_uuid

role_widget_plugin​

Columns

ColumnTypeNullKeyReferencesServer default
role_uuidBINARY(16)noindexedrole.uuid (on delete CASCADE)
plugin_uuidBINARY(16)noindexedwidget_plugin.uuid (on delete CASCADE)
widget_idVARCHAR(48)no
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_role_widget_plugin_plugin_uuid on plugin_uuid
  • Index ix_role_widget_plugin_role_uuid on role_uuid
  • Unique constraint uix_role_widget_plugin on plugin_uuid, role_uuid, widget_id

session​

Columns

ColumnTypeNullKeyReferencesServer default
token_hashVARCHAR(64)nounique, indexed
user_uuidBINARY(16)yesindexeduser.uuid
expiration_dateDATETIMEyes
app_sessionBOOLEANno
sourceVARCHAR(20)yes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Unique index ix_session_token_hash on token_hash
  • Index ix_session_user_uuid on user_uuid

share_request​

Columns

ColumnTypeNullKeyReferencesServer default
requester_uuidBINARY(16)noindexeduser.uuid (on delete CASCADE)
dashboard_item_uuidBINARY(16)yesindexeddashboard_item.uuid (on delete CASCADE)
user_app_uuidBINARY(16)yesindexeduser_app.uuid (on delete CASCADE)
recipient_uuidBINARY(16)yesindexeduser.uuid (on delete CASCADE)
permissionsVARCHAR(10)yes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_share_request_dashboard_item_uuid on dashboard_item_uuid
  • Index ix_share_request_recipient_uuid on recipient_uuid
  • Index ix_share_request_requester_uuid on requester_uuid
  • Index ix_share_request_user_app_uuid on user_app_uuid

signing_key​

Columns

ColumnTypeNullKeyReferencesServer default
private_keyTEXTno
public_jwkJSONno
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

stored_file​

Columns

ColumnTypeNullKeyReferencesServer default
creater_uuidBINARY(16)noindexeduser.uuid
file_widget_uuidBINARY(16)yesindexedfile_widget.uuid (on delete CASCADE)
s3_file_nameTEXTno
bucketTEXTno
extensionTEXTno
original_file_nameTEXTyes
sizeINTEGERno
is_globalBOOLEANnoindexed
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_stored_file_creater_uuid on creater_uuid
  • Index ix_stored_file_file_widget_uuid on file_widget_uuid
  • Index ix_stored_file_is_global on is_global

stored_file_share​

Columns

ColumnTypeNullKeyReferencesServer default
dashboard_item_uuidBINARY(16)yesindexeddashboard_item.uuid (on delete CASCADE)
user_app_uuidBINARY(16)yesindexeduser_app.uuid (on delete CASCADE)
creater_uuidBINARY(16)noindexeduser.uuid
shared_user_uuidBINARY(16)noindexeduser.uuid
stored_file_uuidsTEXTno
entity_uuidBINARY(16)yesindexedentity.uuid
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_stored_file_share_creater_uuid on creater_uuid
  • Index ix_stored_file_share_dashboard_item_uuid on dashboard_item_uuid
  • Index ix_stored_file_share_entity_uuid on entity_uuid
  • Index ix_stored_file_share_shared_user_uuid on shared_user_uuid
  • Index ix_stored_file_share_user_app_uuid on user_app_uuid

user​

Columns

ColumnTypeNullKeyReferencesServer default
microsoft_idVARCHAR(100)yes
first_nameVARCHAR(100)yes
last_nameVARCHAR(100)yes
emailVARCHAR(255)nounique
clean_emailVARCHAR(255)no
usernameVARCHAR(50)yesunique
passwordVARCHAR(128)no
totp_secretTEXTyes
totp_last_stepBIGINTyes
totp_activeBOOLEANno
two_factor_authBOOLEANno
temporary_passwordBOOLEANyes
openai_api_keyTEXTyes
perplexity_api_keyTEXTyes
display_settingsJSONyes
deletedBOOLEANyes
confirmedBOOLEANyes
is_superuserBOOLEANno
permissions_uuidBINARY(16)yesindexedpermissions_entity_map.uuid
app_startDATETIMEyes
latest_versionTEXTyes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_user_permissions_uuid on permissions_uuid
  • Unique constraint on email
  • Unique constraint on username

user_app​

Columns

ColumnTypeNullKeyReferencesServer default
user_uuidBINARY(16)noindexeduser.uuid
contentLONGBLOByes
is_sharedBOOLEANyesindexed
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_user_app_is_shared on is_shared
  • Index ix_user_app_user_uuid on user_uuid

user_app_share​

Columns

ColumnTypeNullKeyReferencesServer default
user_app_uuidBINARY(16)noindexeduser_app.uuid (on delete CASCADE)
shared_user_uuidBINARY(16)noindexeduser.uuid
activeBOOLEANnoindexed
permissionsVARCHAR(7)no
viewedBOOLEANnoindexed
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_user_app_share_active on active
  • Index ix_user_app_share_shared_user_uuid on shared_user_uuid
  • Index ix_user_app_share_user_app_uuid on user_app_uuid
  • Index ix_user_app_share_viewed on viewed

user_invite​

Columns

ColumnTypeNullKeyReferencesServer default
inviting_user_uuidBINARY(16)yesindexeduser.uuid
usedBOOLEANno
emailVARCHAR(255)no
permissions_uuidBINARY(16)yespermissions_entity_map.uuid (on delete SET NULL)
dataJSONyes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_user_invite_inviting_user_uuid on inviting_user_uuid

user_prompts​

Columns

ColumnTypeNullKeyReferencesServer default
user_uuidBINARY(16)noindexeduser.uuid
promptMEDIUMBLOByes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_user_prompts_user_uuid on user_uuid

user_role​

Columns

ColumnTypeNullKeyReferencesServer default
user_uuidBINARY(16)noindexeduser.uuid
role_uuidBINARY(16)noindexedrole.uuid (on delete CASCADE)
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_user_role_role_uuid on role_uuid
  • Index ix_user_role_user_uuid on user_uuid

user_skills​

Columns

ColumnTypeNullKeyReferencesServer default
user_uuidBINARY(16)noindexeduser.uuid
slugVARCHAR(50)no
descriptionTEXTyes
contentMEDIUMBLOByes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_user_skills_user_uuid on user_uuid
  • Unique constraint uq_user_skills_user_uuid_slug on slug, user_uuid

user_usage​

Columns

ColumnTypeNullKeyReferencesServer default
user_uuidBINARY(16)nounique, indexeduser.uuid
number_copilot_calls_day_countINTEGERno
number_copilot_tokens_day_countBIGINTno
total_file_upload_size_gb_countFLOATno
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Unique index ix_user_usage_user_uuid on user_uuid

widget_metadata​

Columns

ColumnTypeNullKeyReferencesServer default
user_uuidBINARY(16)nouser.uuid
nameVARCHAR(50)no
descriptionTEXTno
sourceVARCHAR(50)no
categoryVARCHAR(50)no
sub_categoryVARCHAR(50)no
widget_typeVARCHAR(50)no
storageMEDIUMBLOByes
widget_configMEDIUMBLOByes
widget_idBINARY(16)nounique
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_user_name_type on name, user_uuid, widget_type
  • Unique constraint on widget_id

widget_plugin​

Columns

ColumnTypeNullKeyReferencesServer default
plugin_idVARCHAR(48)nounique
nameVARCHAR(100)no
statusVARCHAR(16)no
active_versionVARCHAR(32)yes
overridesJSONyes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Unique constraint on plugin_id

widget_plugin_csp_report​

Columns

ColumnTypeNullKeyReferencesServer default
plugin_uuidBINARY(16)noindexedwidget_plugin.uuid (on delete CASCADE)
versionVARCHAR(32)no
entity_uuidBINARY(16)noindexedentity.uuid (on delete CASCADE)
directiveVARCHAR(32)no
blocked_originVARCHAR(255)no
countINTEGERno
first_seenDATETIMEyes
last_seenDATETIMEyes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_widget_plugin_csp_report_entity_uuid on entity_uuid
  • Index ix_widget_plugin_csp_report_plugin_uuid on plugin_uuid
  • Unique constraint uix_widget_plugin_csp_report on blocked_origin, directive, entity_uuid, plugin_uuid

widget_plugin_event​

Columns

ColumnTypeNullKeyReferencesServer default
plugin_uuidBINARY(16)noindexedwidget_plugin.uuid (on delete CASCADE)
versionVARCHAR(32)yes
entity_uuidBINARY(16)yesindexed
actor_uuidBINARY(16)yes
actionVARCHAR(48)no
detailsJSONyes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_widget_plugin_event_entity_uuid on entity_uuid
  • Index ix_widget_plugin_event_plugin_uuid on plugin_uuid

widget_plugin_preset​

Columns

ColumnTypeNullKeyReferencesServer default
plugin_uuidBINARY(16)noindexedwidget_plugin.uuid (on delete CASCADE)
widget_idVARCHAR(48)no
entity_uuidBINARY(16)noindexedentity.uuid (on delete CASCADE)
owner_uuidBINARY(16)yesindexeduser.uuid (on delete CASCADE)
scopeVARCHAR(8)no
nameVARCHAR(80)no
configJSONyes
stateJSONyes
is_defaultBOOLEANno
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_widget_plugin_preset_entity_uuid on entity_uuid
  • Index ix_widget_plugin_preset_owner_uuid on owner_uuid
  • Index ix_widget_plugin_preset_plugin_uuid on plugin_uuid
  • Index ix_widget_plugin_preset_widget on entity_uuid, plugin_uuid, widget_id

widget_plugin_secret​

Columns

ColumnTypeNullKeyReferencesServer default
plugin_uuidBINARY(16)noindexedwidget_plugin.uuid (on delete CASCADE)
nameVARCHAR(64)no
valueTEXTno
set_by_uuidBINARY(16)yes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_widget_plugin_secret_plugin_uuid on plugin_uuid
  • Unique constraint uix_widget_plugin_secret on name, plugin_uuid

widget_plugin_version​

Columns

ColumnTypeNullKeyReferencesServer default
plugin_uuidBINARY(16)noindexedwidget_plugin.uuid (on delete CASCADE)
versionVARCHAR(32)no
digestVARCHAR(80)yes
declared_checksumVARCHAR(80)yes
pin_statusVARCHAR(16)no
manifestMEDIUMBLOByes
filesJSONyes
pathVARCHAR(120)no
stateVARCHAR(16)no
blocked_reasonTEXTyes
findingsJSONyes
discovered_atDATETIMEyes
approvedJSONyes
approved_by_uuidBINARY(16)yes
approved_atDATETIMEyes
uuidBINARY(16)noprimary
created_dateDATETIMEyes
updated_dateDATETIMEyes

Indexes and constraints

  • Index ix_widget_plugin_version_plugin_uuid on plugin_uuid
  • Unique constraint uix_widget_plugin_version on plugin_uuid, version