You are here

function fb_update_7402 in Drupal for Facebook 7.4

Facebook application namespace is optional. Allow null in fb_application.namespace database schema.

File

./fb.install, line 315

Code

function fb_update_7402() {
  $schema = fb_schema();

  // @todo is there a drupal api for this?
  // @todo does db_change_field break our index?
  db_change_field('fb_application', 'namespace', 'namespace', $schema['fb_application']['fields']['namespace']);
}