Skip to main content

hr.smtp_settings

Schema: hr
English table: hr.smtp_settings
Italian original table: hr._smtp
Description: SMTP configuration settings used to send application emails per tenant.

Overview

  • Columns: 14
  • Primary key: id
  • Outgoing foreign keys: 1
  • Incoming foreign keys: 0
  • Indexes: 2

Columns

English columnItalian original columnTypeNullDefault / GeneratedDescription
ididintegerNOSurrogate primary key.
smtp_setting_idsmtp_idintegerNOLogical SMTP setting identifier (unique per tenant).
smtp_server_hostsmtp_servercharacter varying(200)NOSMTP server hostname or address.
smtp_descriptionsmtp_desciptioncharacter varying(200)NOHuman-readable description of the SMTP configuration.
smtp_usernamesmtp_usernamecharacter varying(200)NOUsername used for SMTP authentication.
smtp_passwordsmtp_passwordcharacter varying(200)NOPassword used for SMTP authentication.
smtp_authenticatesmtp_authenticatenumeric(1,0)NOAuthentication flag (stored as numeric(1,0)).
smtp_server_portsmtp_serverportnumeric(5,0)NOSMTP server port (stored as numeric(5,0)).
smtp_sendusingsmtp_sendusingnumeric(2,0)NODelivery method code (stored as numeric(2,0)).
smtp_connection_timeout_secondssmtp_connectiontimeoutnumeric(3,0)NOConnection timeout in seconds (stored as numeric(3,0)).
smtp_reply_to_emailsmtp_senduserreplyemailaddresscharacter varying(200)NOReply-to email address used for outgoing messages.
smtp_from_emailsmtp_sendemailaddresscharacter varying(200)NOFrom email address used for outgoing messages.
smtp_uses_sslsmtp_usesslbooleanNOIndicates whether SSL/TLS is used for the SMTP connection.
tenant_idtenant_idintegerYESTenant identifier for row-level security and data partitioning.

Relationships

Outgoing foreign keys

ConstraintLocal columnsReferencesReferenced columnsOn updateOn delete
fk_smtp_tenanttenant_idcloud.tenantsten_internal_idRESTRICTCASCADE

Referenced by

No incoming foreign keys found.

Constraints

  • Primary key: pk_smtp_settingsid
  • Unique: uk_smtp_setting_tenantsmtp_setting_id, tenant_id

Indexes

NameUniqueMethodColumns / expression
idx_smtp_tenantNObtreetenant_id
idx_smtp_tenant_settingNObtreetenant_id, smtp_setting_id