You are here

function faq_update_7000 in Frequently Asked Questions 7.2

Same name and namespace in other branches
  1. 7 faq.install \faq_update_7000()

Make'detailed_question' column nullable.

File

./faq.install, line 252
FAQ module install file.

Code

function faq_update_7000() {
  db_change_field('faq_questions', 'detailed_question', 'detailed_question', array(
    'type' => 'text',
    'size' => 'normal',
    'not null' => FALSE,
  ));
  return t('Detailed question field can now be null.');
}