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 |
- |
|
|