You are here

function photos_update_1 in Album Photos 6.2

File

./photos.install, line 195

Code

function photos_update_1() {
  $ret = array();
  $schema['x_vote'] = array(
    'fields' => array(
      'fid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
      ),
      'cid' => array(
        'type' => 'int',
        'unsigned' => TRUE,
        'not null' => TRUE,
      ),
    ),
    'indexes' => array(
      'fid' => array(
        'fid',
      ),
    ),
  );
  db_create_table($ret, 'x_vote', $schema['x_vote']);
  return $ret;
}