Make WordPress Core

Changeset 232


Ignore:
Timestamp:
06/16/2003 12:05:43 AM (21 years ago)
Author:
mikelittle
Message:

More adjustments. More uniqunes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/wp-install.php

    r231 r232  
    211211  cat_ID int(4) NOT NULL auto_increment,
    212212  cat_name varchar(55) NOT NULL default '',
    213   PRIMARY KEY  (cat_ID)
     213  PRIMARY KEY  (cat_ID),
     214  UNIQUE (cat_name)
    214215)
    215216";
     
    324325  optionvalue_min int(11),
    325326  optionvalue_seq int(11),
    326   KEY (option_id),
     327  UNIQUE (option_id, optionvalue(255)),
    327328  INDEX (option_id, optionvalue_seq)
    328329)
     
    556557    $query= "UPDATE $tableoptions set option_value='$url' where option_id=28"; //blodotgsping_url
    557558    $q = $wpdb->query($query);
    558     $query= "UPDATE $tableoptions set option_value='$url' where option_id=17"; //smilies_directory
     559    $query= "UPDATE $tableoptions set option_value='$url/b2-img/smilies' where option_id=17"; //smilies_directory
    559560    $q = $wpdb->query($query);
    560561}
Note: See TracChangeset for help on using the changeset viewer.