mirror of
https://github.com/dimitri/pgloader.git
synced 2026-03-20 19:41:01 +01:00
Find foreign keys with #'string= by default.
Blind attempt at fixing #343 and #330, which now is on at the same level.
This commit is contained in:
parent
c724018840
commit
57f7fd1d4e
@ -250,7 +250,7 @@
|
||||
"Find FKEY-NAME in TABLE and return the FKEY object of this name."
|
||||
(find fkey-name (table-fkey-list table) :key key :test test))
|
||||
|
||||
(defmethod maybe-add-fkey ((table table) fkey-name fkey &key key test)
|
||||
(defmethod maybe-add-fkey ((table table) fkey-name fkey &key key (test #'string=))
|
||||
"Add the foreign key FKEY to the table-fkey-list of TABLE unless it
|
||||
already exists, and return the FKEY object."
|
||||
(let ((fkey (find-fkey table fkey-name :key key :test test)))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user