| Constraint Name | Columns |
|---|---|
| RHN_ERRATATMP_ID_PK | ID |
| Constraint Name | Check Condition |
|---|---|
| RHN_ERRATATMP_ADV_TYPE_CK | advisory_type in ('Bug Fix Advisory', 'Product Enhancement Advisory', 'Security Advisory') |
| RHN_ERRATATMP_LM_CK | locally_modified in ('Y','N') |
| Constraint Name | Columns | Referenced table | Referenced Constraint | On Delete Rule |
|---|---|---|---|---|
| RHN_ERRATATMP_OID_FK | ORG_ID | WEB_CUSTOMER | WEB_CUSTOMER_ID_PK | CASCADE |
| RHN_ERRATATMP_SEVID_FK | SEVERITY_ID | RHNERRATASEVERITY | RHN_ERRATA_SEV_ID_PK | NO ACTION |

| Option | Settings |
|---|---|
| Tablespace | USERS |
| Index Organized | No |
| Generated by Oracle | No |
| Clustered | No |
| Nested | No |
| Temporary | No |
| Index Name | Type | Unuqueness | Columns | DDL script |
|---|---|---|---|---|
| RHN_ERRATATMP_ADVISORY_NAME_UQ | NORMAL | UNIQUE | ADVISORY_NAME | DDL script |
| RHN_ERRATATMP_ADVISORY_UQ | NORMAL | UNIQUE | ADVISORY | DDL script |
| RHN_ERRATATMP_ID_PK | NORMAL | UNIQUE | ID | DDL script |
Legend: comment string keyword reserved word operator
CREATE TRIGGER rhn_erratatmp_mod_trig before insert or update on rhnerratatmp for each row REFERENCING NEW AS NEW OLD AS OLD begin :new.modified := current_timestamp; :new.last_modified := current_timestamp; end;