| [ Index ] |
PHP Cross Reference of Drupal 6 (yi-drupal) |
[Summary view] [Print] [Text view]
1 <?php 2 3 /** 4 * Implementation of hook_install(). 5 * 6 * @todo: Should use db_change_field() 7 * @todo: What happens if data_search and search are installed at the same time? 8 */ 9 function data_search_install() { 10 // Adjust length of type columns for data tables with names of a max length of 64. 11 db_query("ALTER TABLE {search_dataset} CHANGE COLUMN type type VARCHAR(64)"); 12 db_query("ALTER TABLE {search_index} CHANGE COLUMN type type VARCHAR(64)"); 13 db_query("ALTER TABLE {search_node_links} CHANGE COLUMN type type VARCHAR(64)"); 14 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Mon Jul 9 18:01:44 2012 | Cross-referenced by PHPXref 0.7 |