Skip to content

Importing comments from CComments #262

Closed Answered by tk5ep
RobertvanderHulst asked this question in Community Support
Discussion options

You must be logged in to vote

Hi,
I tried you SQL command, but this caused the comment field not to be displayed.
I added the email addresses and it work .
So the correct SQL script is
insert into j3_engage_comments (id, asset_id, ip, body, name, email, created_by, modified_by, created, modified, enabled) select m.id, asset_id, ip, comment, name, email, userid, userid, date, m.modified,1 from j3_comment m, j3_content c where m.contentid = c.id

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by RobertvanderHulst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants