5 lines
221 B
MySQL
5 lines
221 B
MySQL
|
|
insert into text_messages(source_user_id, target_user_id, message, created_at, updated_at) (
|
||
|
|
select source_user_id, target_user_id, message, created_at, updated_at
|
||
|
|
from notifications
|
||
|
|
where description='TEXT_MESSAGE'
|
||
|
|
);
|