function word_link_update_7001 in Word Link 7.2
Same name and namespace in other branches
- 7 word_link.install \word_link_update_7001()
Adding a visibility column.
File
- ./
word_link.install, line 111 - Install, update, and uninstall functions for the word_link module.
Code
function word_link_update_7001() {
if (!db_field_exists('word_link', 'visibility')) {
db_add_field('word_link', 'visibility', array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
'size' => 'tiny',
));
}
}