The structure design of the station inner letter table

Source: Internet
Author: User

The structure design of the station inner letter table A person can point to dots point to mass but both sides can choose whether to delete and the administrator can see all the table structure design

Create TableMessage_sender (MidintUnsigned not NULL Primary KeyAuto_increment Comment'self-increment ID in station letter', From_uidintUnsigned not NULL default 0Comment'Sender ID', From_usernamevarchar( -) not NULL default "'Comment'Name of Sender', titlevarchar( $) not NULL default "'Comment'Information Title', Contenttext  not NULLComment'Information Content', from_deletedtinyintUnsigned not NULL default 0Comment'deleted by Sender', Date_timeintUnsigned not NULL default 0Comment'Sending Time') CharSet UTF8 comment'User station letter delivery form';Create Tablemessage_receiver (RIDintUnsigned not NULL Primary KeyAuto_increment Comment'self-increment ID', MidintUnsigned not NULL default 0Comment'associated Station Letter ID', To_uidintUnsigned not NULL default 0Comment'Recipient ID', To_usernamevarchar( -) not NULL default "'Comment'name of the person receiving the letter', is_readedtinyintUnsigned not NULL default 0Comment'whether the addressee is reading', is_deletedtinyintUnsigned not NULL default 0Comment'is deleted by the addressee',) CharSet UTF8 comment'User station internal letter receiving table';

The structure design of the station inner letter table

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.