Database reference - demo

demo -  tables -  ml_server.ml_qa_delivery_archive

Description

none

Table properties

namevalue
nameml_server.ml_qa_delivery_archive
row count
Maximum size of a single row943 bytes

Columns

columndatatypelengthdefaultnullsPKFKUQcomment
msgidvarchar(128)128 no  composite PK  ml_qa_repository_archive.msgid       
seqnobigint8 no       
addressvarchar(255)255 no  composite PK     
clientaddressvarchar(128)128 no       
clientvarchar(128)128 no       
originatorvarchar(128)128 yes       
priorityinteger4 no       
expirestimestamp8 yes       
kindinteger4 no       
contentsizebigint8 no       
statusinteger4 no       
statustimetimestamp8current timestampno       
syncstatusinteger4 no       
receiveridvarchar(128)128 yes       

References

name
ml_qa_repository_archive

Foreign key graph

ml_qa_repository_archiveml_qa_delivery_archive

Foreign keys

namecolumnsforeign columnstypecomment
ml_qa_d_r_c_amsgidml_qa_repository_archive.msgid    

Dependency graph

ml_qa_delivery_archive3301ml_qa_messages_archive

Objects that depend on ml_server.ml_qa_delivery_archive

nameobject typelevel
3301trigger1
ml_qa_messages_archiveview1

Code

CREATE TABLE "ml_server"."ml_qa_delivery_archive" (
    "msgid"                          varchar(128) NOT NULL
   ,"seqno"                          bigint NOT NULL
   ,"address"                        varchar(255) NOT NULL
   ,"clientaddress"                  varchar(128) NOT NULL
   ,"client"                         varchar(128) NOT NULL
   ,"originator"                     varchar(128) NULL
   ,"priority"                       integer NOT NULL
   ,"expires"                        timestamp NULL
   ,"kind"                           integer NOT NULL
   ,"contentsize"                    bigint NOT NULL
   ,"status"                         integer NOT NULL
   ,"statustime"                     timestamp NOT NULL DEFAULT current timestamp
   ,"syncstatus"                     integer NOT NULL
   ,"receiverid"                     varchar(128) NULL
   ,PRIMARY KEY ("msgid","address") 
)



Documentation generated by SqlSpec