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' );