wordpress转wellcms

编程

#1 .清空数据

TRUNCATE table `well_website_thread_tid` ;

TRUNCATE table `well_website_thread` ;

TRUNCATE table `well_website_data` ;

#2. 插入tid

insert into `well_website_thread_tid` (tid,fid,uid)

SELECT `ID`,1,1 FROM ganfenmiehuoqi.`wp_posts`;

#3. 插入标题

insert into `well_website_thread` (tid, subject,fid )

SELECT `ID`,`post_title`,1 FROM ganfenmiehuoqi.`wp_posts`;

#4. 插入内容

insert into `well_website_data` (tid, message)

SELECT `ID`, `post_content` FROM ganfenmiehuoqi.`wp_posts`;

以上是 wordpress转wellcms 的全部内容, 来源链接: utcz.com/z/515135.html

回到顶部