Table vm_usermsg

create table vm_usermsg ( MailboxId varchar(64) not null, MessageId varchar(128) not null, State integer not null default 1, StoreTime bigint not null, foreign key (MailboxId) references vm_mailbox on delete cascade on update cascade, foreign key (MessageId) references vm_message on delete cascade on update cascade, primary key (MailboxId, MessageId) );

Glossary

Категории