RHNCONFIGREVISION
DDL scriptColumns
| Name | Type | Nullable | Default value | Comment |
|---|
| ID | NUMBER(38) | N | | |
| REVISION | NUMBER(38) | N | | |
| CONFIG_FILE_ID | NUMBER(38) | N | | |
| CONFIG_CONTENT_ID | NUMBER(38) | Y | | |
| CONFIG_INFO_ID | NUMBER(38) | N | | |
| CREATED | TIMESTAMP(6) WITH LOCAL TIME ZONE | N | (current_timestamp) | |
| MODIFIED | TIMESTAMP(6) WITH LOCAL TIME ZONE | N | (current_timestamp) | |
| CONFIG_FILE_TYPE_ID | NUMBER(38) | N | (1) | |
| CHANGED_BY_ID | NUMBER(38) | Y | (null)
| |
Primary key:
| Constraint Name | Columns |
|---|
| RHN_CONFREVISION_ID_PK | ID
|
Foreign Keys:

Options:
| Option | Settings |
|---|
| Tablespace | USERS |
| Index Organized | No |
| Generated by Oracle | No |
| Clustered | No |
| Nested | No |
| Temporary | No |
Indexes:
Referenced by:
Triggers
RHN_CONFREVISION_DEL_TRIG
Legend: string keyword reserved word operator
CREATE TRIGGER
rhn_confrevision_del_trig
before delete on rhnConfigRevision
for each row
REFERENCING NEW AS NEW OLD AS OLD
declare
cr_removed number := lookup_snapshot_invalid_reason('cr_removed');
begin
update rhnSnapshot
set invalid = cr_removed
where id in (select snapshot_id
from rhnSnapshotConfigRevision
where config_revision_id = :old.id);
delete from rhnSnapshotConfigRevision
where config_revision_id = :old.id;
end;
RHN_CONFREVISION_MOD_TRIG
Legend: string keyword reserved word operator
CREATE TRIGGER
rhn_confrevision_mod_trig
before insert or update on rhnConfigRevision
for each row
REFERENCING NEW AS NEW OLD AS OLD
begin
:new.modified := current_timestamp;
end;