function uc_roles_update_1 in Ubercart 5
File
- uc_roles/
uc_roles.install, line 73
Code
function uc_roles_update_1() {
$ret = array();
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
$ret[] = update_sql("ALTER TABLE {uc_roles_products} CHANGE expiration duration SMALLINT( 4 ) NULL DEFAULT NULL");
$ret[] = update_sql("ALTER TABLE {uc_roles_products} CHANGE model model VARCHAR( 255 ) CHARACTER SET utf8 NULL");
break;
case 'pgsql':
break;
}
return $ret;
}