No no no no no.
This would be a serious violation of the relational database model. Create three tables: users, messages, and sentToUsers messages.
- In the table,
Userssave the value user_idand the user name. Messages message_id text.MessagesSentToUsers , . user_id , , message_id, , .
:
| User | | Message | | MessageSentToUsers |
|---------|------| |------------|------| |----------|------------|
| user_id | name | | message_id | text | | user_id | message_id |
id integer. , ( ).