You are here

function feed_path_publisher_update_1 in Feed Path Publisher 6

Same name and namespace in other branches
  1. 5 feed_path_publisher.install \feed_path_publisher_update_1()

File

./feed_path_publisher.install, line 39

Code

function feed_path_publisher_update_1() {
  $schema['feed_path_publisher_roles'] = array(
    'fields' => array(
      'fpprid' => array(
        'type' => 'serial',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'disp-width' => '10',
      ),
      'fppid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
        'disp-width' => '10',
      ),
      'show_hide' => array(
        'type' => 'varchar',
        'length' => '50',
        'not null' => TRUE,
      ),
      'rids' => array(
        'type' => 'varchar',
        'length' => '100',
        'not null' => TRUE,
      ),
    ),
    'primary key' => array(
      'fpprid',
    ),
  );
  $ret = array();
  db_create_table($ret, 'feed_path_publisher_roles', $schema['feed_path_publisher_roles']);
  return $ret;
}