You are here

function feed_path_publisher_update_3 in Feed Path Publisher 5

File

./feed_path_publisher.install, line 96

Code

function feed_path_publisher_update_3() {
  $ret = array();
  switch ($GLOBALS['db_type']) {
    case 'mysql':
    case 'mysqli':
      db_query('CREATE TABLE {feed_path_publisher_roles} (
        fpprid int(10) unsigned NOT NULL auto_increment,
        fppid int(10) unsigned NOT NULL,
        show_hide varchar(50) NOT NULL,
        rids varchar(100) NOT NULL,
        PRIMARY KEY  (fpprid)
      ) ENGINE=InnoDB DEFAULT CHARSET=utf8;');
      break;
    case 'pgsql':
      drupal_set_message('PostgreSQL is not currently supported.', 'error');
      break;
  }
  return $ret;
}