디비툴로 그누보드 특정게시판 초기화 하는 방법 정보
디비툴로 그누보드 특정게시판 초기화 하는 방법본문
처음에 그누보드 설치후 쓰레기 데이터를 넣어서 테스트해보는 경우가 있을겁니다
-----------------------------------------------------------------------------------------------------
TRUNCATE `g4_write_테이블명`;
delete from `g4_board_file` where bo_table='테이블명';
delete from `g4_scrap` where bo_table='테이블명';
delete from `g4_board_new` where bo_table='테이블명';
UPDATE `g4_board` SET `bo_count_write` = '0' WHERE `bo_table` = '테이블명';
---------------------------------------------------------------------------------------------------------------
위커리를 실행시키면 테이블 데이터 초기화됩니다
그리고 첨부파일 잇다면 /data/file/테이블명/ 안에 있는 파일 몽땅 지우면되겟죠
그누보드 테스트후 초기화시키는 기능이 있었으면 좋겠네요
-----------------------------------------------------------------------------------------------------
TRUNCATE `g4_write_테이블명`;
delete from `g4_board_file` where bo_table='테이블명';
delete from `g4_scrap` where bo_table='테이블명';
delete from `g4_board_new` where bo_table='테이블명';
UPDATE `g4_board` SET `bo_count_write` = '0' WHERE `bo_table` = '테이블명';
---------------------------------------------------------------------------------------------------------------
위커리를 실행시키면 테이블 데이터 초기화됩니다
그리고 첨부파일 잇다면 /data/file/테이블명/ 안에 있는 파일 몽땅 지우면되겟죠
그누보드 테스트후 초기화시키는 기능이 있었으면 좋겠네요
추천
0
0
댓글 0개