I have a database containing logs of channels chat. Each channel has own table. Structure of table is sent (msg timestamp), username and