SAAS-923 - 2.5.14 schema upgrade to add partial unique index on cc_pref's keystr column (when subjid is null)
This commit is contained in:
parent
999f03ea1e
commit
5cb396e512
5 changed files with 34 additions and 2 deletions
|
@ -31,7 +31,8 @@ class Application_Model_Preference
|
|||
$con->beginTransaction();
|
||||
|
||||
try {
|
||||
static::_lock($con);
|
||||
/* Comment this out while we reevaluate it in favor of a unique constraint
|
||||
static::_lock($con); */
|
||||
$userId = self::getUserId();
|
||||
|
||||
if ($isUserValue && is_null($userId)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue