https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32437

--- Comment #21 from Marcel de Rooy <[email protected]> ---
        } elsif( !primary_key_exists('import_auths','import_record_id') ){
            say $out "Found an existing PRIMARY KEY on import_auths table";
            say $out "You must delete this key and replace it with a key on
import_record_id";
        } else {
            say $out "PRIMARY KEY import_record_id on import_auths already
exists";

Since we assume in the schema that the primary key is import_record_id, we
should bail out in the middle clause where we find another PK.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to