View | Details | Raw Unified | Return to bug 32437
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/bug_32437.pl (-1 / +3 lines)
Lines 12-17 return { Link Here
12
        } elsif( !primary_key_exists('import_auths','import_record_id') ){
12
        } elsif( !primary_key_exists('import_auths','import_record_id') ){
13
            say $out "Found an existing PRIMARY KEY on import_auths table";
13
            say $out "Found an existing PRIMARY KEY on import_auths table";
14
            say $out "You must delete this key and replace it with a key on import_record_id";
14
            say $out "You must delete this key and replace it with a key on import_record_id";
15
            say $out "    ALTER TABLE import_auths DROP PRIMARY KEY;"
16
            say $out "    ALTER TABLE import_auths ADD PRIMARY KEY (import_record_id);"
17
            die "Interrupting installer process: database revision for bug 32437 fails!";
15
        } else {
18
        } else {
16
            say $out "PRIMARY KEY import_record_id on import_auths already exists";
19
            say $out "PRIMARY KEY import_record_id on import_auths already exists";
17
        }
20
        }
18
- 

Return to bug 32437