그누보드 그누보드4 --> 그누보드5 변경 사항 (디비 테이블/컬럼)
페이지 정보
본문
그누보드4 를 그누보드5 로 업그레이드를 할때 실수하는 것이, 없어진 필드로 인한 에러입니다.
그누보드5에 필드가 생성된 것도 많지만, 없어진 필드를 확인하는 것도 중요합니다.
1. g4_board $g4[board_table] --> g5_board $g5['board_table']
2. g4_config $g4[config_table] --> g5_config $g5['config_table']
3. g4_group $g4[group_table] --> g5_group $g5['group_table']
4. g4_group_member $g4[group_member_table] --> g5_group_member $g5['group_member_table']
5. g4_login $g4[login_table] --> g5_login $g5['login_table']
6. g4_member $g4[member_table] --> g5_member $g5['member_table']
7. g4_memo $g4[memo_table] --> g5_memo $g5['memo_table']
8. g4_point $g4[point_table] --> g5_point $g5['point_table']
9. g4_poll_etc $g4[poll_etc_table] --> g5_poll_etc $g5['poll_etc_table']
10. g4_scrap $g4[scrap_table] --> g5_scrap $g5['scrap_table']
11. $g4[server_time] --> G5_SERVER_TIME
12. $g4[time_ymd] --> G5_TIME_YMD
13. $g4[time_ymdhis] --> G5_TIME_YMDHIS
1. g4_board $g4['board_table'] $g4[board_table] --> g5_board $g5['board_table']
1-1. 그누보드4 컬럼 삭제
bo_disable_tags text NOT NULL
bo_image_head varchar(255) NOT NULL DEFAULT ''
bo_image_tail varchar(255) NOT NULL DEFAULT ''
bo_order_search int(11) NOT NULL DEFAULT '0'
bo_use_comment tinyint(4) NOT NULL DEFAULT '0'
bo_use_trackback tinyint(4) NOT NULL DEFAULT '0'
1-2. 그누보드5 컬럼 추가
bo_use_list_file tinyint(4) NOT NULL DEFAULT '0'
bo_gallery_width int(11) NOT NULL DEFAULT '0'
bo_gallery_height int(11) NOT NULL DEFAULT '0'
bo_mobile_content_head text NOT NULL
bo_mobile_content_tail text NOT NULL
bo_mobile_gallery_width int(11) NOT NULL DEFAULT '0'
bo_mobile_gallery_height int(11) NOT NULL DEFAULT '0'
bo_mobile_page_rows int(11) NOT NULL DEFAULT '0'
bo_mobile_skin varchar(255) NOT NULL DEFAULT ''
bo_mobile_subject_len int(11) NOT NULL DEFAULT '0'
bo_order int(11) NOT NULL DEFAULT '0'
bo_use_captcha tinyint(4) NOT NULL DEFAULT '0'
bo_use_cert enum('','cert','adult','hp-cert','hp-adult') NOT NULL DEFAULT ''
bo_use_sns tinyint(4) NOT NULL DEFAULT '0'
2. g4_config $g4['config_table'] $g4[config_table] --> g5_config $g5['config_table']
2-1. 그누보드4 컬럼 삭제
cf_use_norobot tinyint(4) NOT NULL DEFAULT '0'
cf_login_skin varchar(255) NOT NULL DEFAULT ''
cf_register_skin varchar(255) NOT NULL DEFAULT 'basic'
cf_search_bgcolor varchar(255) NOT NULL DEFAULT ''
cf_search_color varchar(255) NOT NULL DEFAULT ''
cf_syndi_token varchar(255) NOT NULL
cf_syndi_except text NOT NULL
cf_use_jumin tinyint(4) NOT NULL DEFAULT '0'
2-2. 그누보드5 컬럼 추가
cf_add_meta text NOT NULL
cf_add_script text NOT NULL
cf_admin_email varchar(255) NOT NULL DEFAULT ''
cf_admin_email_name varchar(255) NOT NULL DEFAULT ''
cf_analytics text NOT NULL
cf_captcha varchar(100) NOT NULL DEFAULT ''
cf_captcha_mp3 varchar(255) NOT NULL DEFAULT ''
cf_cert_use tinyint(4) NOT NULL DEFAULT '0'
cf_cert_ipin varchar(255) NOT NULL DEFAULT ''
cf_cert_hp varchar(255) NOT NULL DEFAULT ''
cf_cert_kcb_cd varchar(255) NOT NULL DEFAULT ''
cf_cert_kcp_cd varchar(255) NOT NULL DEFAULT ''
cf_cert_limit int(11) NOT NULL DEFAULT '0'
cf_cert_req tinyint(4) NOT NULL DEFAULT '0'
cf_editor varchar(255) NOT NULL DEFAULT ''
cf_facebook_appid varchar(255) NOT NULL
cf_facebook_secret varchar(255) NOT NULL
cf_faq_skin varchar(255) NOT NULL DEFAULT ''
cf_google_clientid varchar(100) NOT NULL DEFAULT ''
cf_google_secret varchar(100) NOT NULL DEFAULT ''
cf_googl_shorturl_apikey varchar(255) NOT NULL DEFAULT ''
cf_icode_id varchar(255) NOT NULL DEFAULT ''
cf_icode_pw varchar(255) NOT NULL DEFAULT '',
cf_icode_server_ip varchar(255) NOT NULL DEFAULT ''
cf_icode_server_port varchar(255) NOT NULL DEFAULT ''
cf_kakao_rest_key varchar(100) NOT NULL DEFAULT ''
cf_kakao_client_secret varchar(100) NOT NULL DEFAULT ''
cf_kakao_js_apikey varchar(255) NOT NULL
cf_lg_mid varchar(255) NOT NULL DEFAULT ''
cf_lg_mert_key varchar(255) NOT NULL DEFAULT ''
cf_mobile_connect_skin varchar(255) NOT NULL DEFAULT ''
cf_mobile_faq_skin varchar(255) NOT NULL DEFAULT ''
cf_member_img_size int(11) NOT NULL DEFAULT '0'
cf_member_img_width int(11) NOT NULL DEFAULT '0'
cf_member_img_height int(11) NOT NULL DEFAULT '0'
cf_mobile_new_skin varchar(255) NOT NULL DEFAULT ''
cf_mobile_page_rows int(11) NOT NULL DEFAULT '0'
cf_mobile_pages int(11) NOT NULL DEFAULT '0'
cf_mobile_search_skin varchar(255) NOT NULL DEFAULT ''
cf_mobile_member_skin varchar(255) NOT NULL DEFAULT ''
cf_naver_clientid varchar(100) NOT NULL DEFAULT ''
cf_naver_secret varchar(100) NOT NULL DEFAULT ''
cf_optimize_date date NOT NULL default '0000-00-00'
cf_payco_clientid varchar(100) NOT NULL DEFAULT ''
cf_payco_secret varchar(100) NOT NULL DEFAULT ''
cf_point_term int(11) NOT NULL DEFAULT '0'
cf_recaptcha_site_key varchar(100) NOT NULL DEFAULT ''
cf_recaptcha_secret_key varchar(100) NOT NULL DEFAULT ''
cf_sms_use varchar(255) NOT NULL DEFAULT ''
cf_sms_type varchar(10) NOT NULL DEFAULT ''
cf_social_login_use tinyint(4) NOT NULL DEFAULT '0'
cf_social_servicelist varchar(255) NOT NULL DEFAULT ''
cf_theme varchar(255) NOT NULL DEFAULT ''
cf_twitter_key varchar(255) NOT NULL
cf_twitter_secret varchar(255) NOT NULL
3. g4_group $g4[group_table] --> g5_group $g5['group_table']
3-1. 그누보드5 컬럼 추가
gr_device ENUM('both','pc','mobile') NOT NULL DEFAULT 'both'
gr_order int(11) NOT NULL default '0'
4. g4_group_member $g4[group_member_table] --> g5_group_member $g5['group_member_table']
4-1. 컬럼 속성 변경
mb_id varchar(255) NOT NULL DEFAULT '' > mb_id varchar(20) NOT NULL default ''
5. g4_login $g4[login_table] --> g5_login $g5['login_table']
5-1. 컬럼 속성 변경
mb_id varchar(255) NOT NULL DEFAULT '' --> mb_id varchar(20) NOT NULL default ''
6. g4_member $g4[member_table] --> g5_member $g5['member_table']
6-1. 컬럼 속성 변경
mb_id varchar(255) NOT NULL DEFAULT '' --> mb_id varchar(20) NOT NULL default ''
6-2. 그누보드4 컬럼 삭제
mb_password_q varchar(255) NOT NULL DEFAULT ''
mb_password_a varchar(255) NOT NULL DEFAULT ''
mb_jumin varchar(255) NOT NULL DEFAULT ''
6-3. 그누보드5 컬럼 추가
mb_adult tinyint(4) NOT NULL default '0'
mb_certify varchar(20) NOT NULL default ''
mb_dupinfo varchar(255) NOT NULL default ''
mb_email_certify2 varchar(255) NOT NULL default ''
7. g4_memo $g4[memo_table] --> g5_memo $g5['memo_table']
7-1. 컬럼 속성 변경
mb_id varchar(255) NOT NULL DEFAULT '' --> mb_id varchar(20) NOT NULL default ''
8. g4_point $g4[point_table] --> g5_point $g5['point_table']
8-1. 그누보드5 컬럼 추가
po_expired tinyint(4) NOT NULL default '0'
po_expire_date date NOT NULL default '0000-00-00'
po_mb_point int(11) NOT NULL default '0'
po_use_point int(11) NOT NULL default '0'
9. g4_poll_etc $g4[poll_etc_table] --> g5_poll_etc $g5['poll_etc_table']
9-1. 컬럼 속성 변경
mb_id varchar(255) NOT NULL DEFAULT '' --> mb_id varchar(20) NOT NULL default ''
10. g4_scrap $g4[scrap_table] --> g5_scrap $g5['scrap_table']
10-1. 컬럼 속성 변경
mb_id varchar(255) NOT NULL DEFAULT '' --> mb_id varchar(20) NOT NULL default ''
11. g4_write_테이블 $g4[write_prefix]_테이블 --> g5_write_테이블 $g5['write_prefix']_테이블
11-1. 그누보드4 컬럼 삭제
wr_trackback varchar(255) NOT NULL DEFAULT ''
11-2. 그누보드5 컬럼 추가
wr_file tinyint(4) NOT NULL DEFAULT '0'
wr_facebook_user varchar(255) NOT NULL
wr_twitter_user varchar(255) NOT NULL
12. yc4_content $g4[yc4_content_table] --> g5_content $g5['content_table']
영카트4의 yc4_content $g4[yc4_content_table] 가 그누보드5로 이관된 테이블
12-1. 그누보드5 컬럼 추가
co_mobile_content longtext NOT NULL
co_mobile_skin varchar(255) NOT NULL DEFAULT ''
co_skin varchar(255) NOT NULL DEFAULT ''
co_tag_filter_use tinyint(4) NOT NULL DEFAULT '0'
[ 삭제된 테이블 ]
g4_token $g4[token_table]
[ 추가된 테이블 ]
g5_autosave $g5['autosave_table']
g5_cert_history $g5['cert_history_table']
g5_faq $g5['faq_table']
g5_faq_master $g5['faq_master_table']
g5_member_social_profiles
g5_menu $g5['menu_table']
g5_new_win $g5['new_win_table']
g5_qa_config $g5['qa_config_table']
g5_qa_content $g5['qa_content_table']
g5_uniqid $g5['uniqid_table']
그누보드5에 필드가 생성된 것도 많지만, 없어진 필드를 확인하는 것도 중요합니다.
1. g4_board $g4[board_table] --> g5_board $g5['board_table']
2. g4_config $g4[config_table] --> g5_config $g5['config_table']
3. g4_group $g4[group_table] --> g5_group $g5['group_table']
4. g4_group_member $g4[group_member_table] --> g5_group_member $g5['group_member_table']
5. g4_login $g4[login_table] --> g5_login $g5['login_table']
6. g4_member $g4[member_table] --> g5_member $g5['member_table']
7. g4_memo $g4[memo_table] --> g5_memo $g5['memo_table']
8. g4_point $g4[point_table] --> g5_point $g5['point_table']
9. g4_poll_etc $g4[poll_etc_table] --> g5_poll_etc $g5['poll_etc_table']
10. g4_scrap $g4[scrap_table] --> g5_scrap $g5['scrap_table']
11. $g4[server_time] --> G5_SERVER_TIME
12. $g4[time_ymd] --> G5_TIME_YMD
13. $g4[time_ymdhis] --> G5_TIME_YMDHIS
1. g4_board $g4['board_table'] $g4[board_table] --> g5_board $g5['board_table']
1-1. 그누보드4 컬럼 삭제
bo_disable_tags text NOT NULL
bo_image_head varchar(255) NOT NULL DEFAULT ''
bo_image_tail varchar(255) NOT NULL DEFAULT ''
bo_order_search int(11) NOT NULL DEFAULT '0'
bo_use_comment tinyint(4) NOT NULL DEFAULT '0'
bo_use_trackback tinyint(4) NOT NULL DEFAULT '0'
1-2. 그누보드5 컬럼 추가
bo_use_list_file tinyint(4) NOT NULL DEFAULT '0'
bo_gallery_width int(11) NOT NULL DEFAULT '0'
bo_gallery_height int(11) NOT NULL DEFAULT '0'
bo_mobile_content_head text NOT NULL
bo_mobile_content_tail text NOT NULL
bo_mobile_gallery_width int(11) NOT NULL DEFAULT '0'
bo_mobile_gallery_height int(11) NOT NULL DEFAULT '0'
bo_mobile_page_rows int(11) NOT NULL DEFAULT '0'
bo_mobile_skin varchar(255) NOT NULL DEFAULT ''
bo_mobile_subject_len int(11) NOT NULL DEFAULT '0'
bo_order int(11) NOT NULL DEFAULT '0'
bo_use_captcha tinyint(4) NOT NULL DEFAULT '0'
bo_use_cert enum('','cert','adult','hp-cert','hp-adult') NOT NULL DEFAULT ''
bo_use_sns tinyint(4) NOT NULL DEFAULT '0'
2. g4_config $g4['config_table'] $g4[config_table] --> g5_config $g5['config_table']
2-1. 그누보드4 컬럼 삭제
cf_use_norobot tinyint(4) NOT NULL DEFAULT '0'
cf_login_skin varchar(255) NOT NULL DEFAULT ''
cf_register_skin varchar(255) NOT NULL DEFAULT 'basic'
cf_search_bgcolor varchar(255) NOT NULL DEFAULT ''
cf_search_color varchar(255) NOT NULL DEFAULT ''
cf_syndi_token varchar(255) NOT NULL
cf_syndi_except text NOT NULL
cf_use_jumin tinyint(4) NOT NULL DEFAULT '0'
2-2. 그누보드5 컬럼 추가
cf_add_meta text NOT NULL
cf_add_script text NOT NULL
cf_admin_email varchar(255) NOT NULL DEFAULT ''
cf_admin_email_name varchar(255) NOT NULL DEFAULT ''
cf_analytics text NOT NULL
cf_captcha varchar(100) NOT NULL DEFAULT ''
cf_captcha_mp3 varchar(255) NOT NULL DEFAULT ''
cf_cert_use tinyint(4) NOT NULL DEFAULT '0'
cf_cert_ipin varchar(255) NOT NULL DEFAULT ''
cf_cert_hp varchar(255) NOT NULL DEFAULT ''
cf_cert_kcb_cd varchar(255) NOT NULL DEFAULT ''
cf_cert_kcp_cd varchar(255) NOT NULL DEFAULT ''
cf_cert_limit int(11) NOT NULL DEFAULT '0'
cf_cert_req tinyint(4) NOT NULL DEFAULT '0'
cf_editor varchar(255) NOT NULL DEFAULT ''
cf_facebook_appid varchar(255) NOT NULL
cf_facebook_secret varchar(255) NOT NULL
cf_faq_skin varchar(255) NOT NULL DEFAULT ''
cf_google_clientid varchar(100) NOT NULL DEFAULT ''
cf_google_secret varchar(100) NOT NULL DEFAULT ''
cf_googl_shorturl_apikey varchar(255) NOT NULL DEFAULT ''
cf_icode_id varchar(255) NOT NULL DEFAULT ''
cf_icode_pw varchar(255) NOT NULL DEFAULT '',
cf_icode_server_ip varchar(255) NOT NULL DEFAULT ''
cf_icode_server_port varchar(255) NOT NULL DEFAULT ''
cf_kakao_rest_key varchar(100) NOT NULL DEFAULT ''
cf_kakao_client_secret varchar(100) NOT NULL DEFAULT ''
cf_kakao_js_apikey varchar(255) NOT NULL
cf_lg_mid varchar(255) NOT NULL DEFAULT ''
cf_lg_mert_key varchar(255) NOT NULL DEFAULT ''
cf_mobile_connect_skin varchar(255) NOT NULL DEFAULT ''
cf_mobile_faq_skin varchar(255) NOT NULL DEFAULT ''
cf_member_img_size int(11) NOT NULL DEFAULT '0'
cf_member_img_width int(11) NOT NULL DEFAULT '0'
cf_member_img_height int(11) NOT NULL DEFAULT '0'
cf_mobile_new_skin varchar(255) NOT NULL DEFAULT ''
cf_mobile_page_rows int(11) NOT NULL DEFAULT '0'
cf_mobile_pages int(11) NOT NULL DEFAULT '0'
cf_mobile_search_skin varchar(255) NOT NULL DEFAULT ''
cf_mobile_member_skin varchar(255) NOT NULL DEFAULT ''
cf_naver_clientid varchar(100) NOT NULL DEFAULT ''
cf_naver_secret varchar(100) NOT NULL DEFAULT ''
cf_optimize_date date NOT NULL default '0000-00-00'
cf_payco_clientid varchar(100) NOT NULL DEFAULT ''
cf_payco_secret varchar(100) NOT NULL DEFAULT ''
cf_point_term int(11) NOT NULL DEFAULT '0'
cf_recaptcha_site_key varchar(100) NOT NULL DEFAULT ''
cf_recaptcha_secret_key varchar(100) NOT NULL DEFAULT ''
cf_sms_use varchar(255) NOT NULL DEFAULT ''
cf_sms_type varchar(10) NOT NULL DEFAULT ''
cf_social_login_use tinyint(4) NOT NULL DEFAULT '0'
cf_social_servicelist varchar(255) NOT NULL DEFAULT ''
cf_theme varchar(255) NOT NULL DEFAULT ''
cf_twitter_key varchar(255) NOT NULL
cf_twitter_secret varchar(255) NOT NULL
3. g4_group $g4[group_table] --> g5_group $g5['group_table']
3-1. 그누보드5 컬럼 추가
gr_device ENUM('both','pc','mobile') NOT NULL DEFAULT 'both'
gr_order int(11) NOT NULL default '0'
4. g4_group_member $g4[group_member_table] --> g5_group_member $g5['group_member_table']
4-1. 컬럼 속성 변경
mb_id varchar(255) NOT NULL DEFAULT '' > mb_id varchar(20) NOT NULL default ''
5. g4_login $g4[login_table] --> g5_login $g5['login_table']
5-1. 컬럼 속성 변경
mb_id varchar(255) NOT NULL DEFAULT '' --> mb_id varchar(20) NOT NULL default ''
6. g4_member $g4[member_table] --> g5_member $g5['member_table']
6-1. 컬럼 속성 변경
mb_id varchar(255) NOT NULL DEFAULT '' --> mb_id varchar(20) NOT NULL default ''
6-2. 그누보드4 컬럼 삭제
mb_password_q varchar(255) NOT NULL DEFAULT ''
mb_password_a varchar(255) NOT NULL DEFAULT ''
mb_jumin varchar(255) NOT NULL DEFAULT ''
6-3. 그누보드5 컬럼 추가
mb_adult tinyint(4) NOT NULL default '0'
mb_certify varchar(20) NOT NULL default ''
mb_dupinfo varchar(255) NOT NULL default ''
mb_email_certify2 varchar(255) NOT NULL default ''
7. g4_memo $g4[memo_table] --> g5_memo $g5['memo_table']
7-1. 컬럼 속성 변경
mb_id varchar(255) NOT NULL DEFAULT '' --> mb_id varchar(20) NOT NULL default ''
8. g4_point $g4[point_table] --> g5_point $g5['point_table']
8-1. 그누보드5 컬럼 추가
po_expired tinyint(4) NOT NULL default '0'
po_expire_date date NOT NULL default '0000-00-00'
po_mb_point int(11) NOT NULL default '0'
po_use_point int(11) NOT NULL default '0'
9. g4_poll_etc $g4[poll_etc_table] --> g5_poll_etc $g5['poll_etc_table']
9-1. 컬럼 속성 변경
mb_id varchar(255) NOT NULL DEFAULT '' --> mb_id varchar(20) NOT NULL default ''
10. g4_scrap $g4[scrap_table] --> g5_scrap $g5['scrap_table']
10-1. 컬럼 속성 변경
mb_id varchar(255) NOT NULL DEFAULT '' --> mb_id varchar(20) NOT NULL default ''
11. g4_write_테이블 $g4[write_prefix]_테이블 --> g5_write_테이블 $g5['write_prefix']_테이블
11-1. 그누보드4 컬럼 삭제
wr_trackback varchar(255) NOT NULL DEFAULT ''
11-2. 그누보드5 컬럼 추가
wr_file tinyint(4) NOT NULL DEFAULT '0'
wr_facebook_user varchar(255) NOT NULL
wr_twitter_user varchar(255) NOT NULL
12. yc4_content $g4[yc4_content_table] --> g5_content $g5['content_table']
영카트4의 yc4_content $g4[yc4_content_table] 가 그누보드5로 이관된 테이블
12-1. 그누보드5 컬럼 추가
co_mobile_content longtext NOT NULL
co_mobile_skin varchar(255) NOT NULL DEFAULT ''
co_skin varchar(255) NOT NULL DEFAULT ''
co_tag_filter_use tinyint(4) NOT NULL DEFAULT '0'
[ 삭제된 테이블 ]
g4_token $g4[token_table]
[ 추가된 테이블 ]
g5_autosave $g5['autosave_table']
g5_cert_history $g5['cert_history_table']
g5_faq $g5['faq_table']
g5_faq_master $g5['faq_master_table']
g5_member_social_profiles
g5_menu $g5['menu_table']
g5_new_win $g5['new_win_table']
g5_qa_config $g5['qa_config_table']
g5_qa_content $g5['qa_content_table']
g5_uniqid $g5['uniqid_table']
댓글목록
등록된 댓글이 없습니다.