mirror of
https://github.com/dimitri/pgloader.git
synced 2026-05-04 10:31:02 +02:00
Apply identifier case to MS SQL column names in fkey definitions.
This is a blind fix: it looks like we forgot to take care of identifier case when adding columns to foreign key definitions in MS SQL catalogs. Fixes #953.
This commit is contained in:
parent
513455f552
commit
70b6845852
@ -188,8 +188,8 @@
|
||||
:delete-rule fk-delete-rule))
|
||||
(fkey
|
||||
(maybe-add-fkey table fkey-name pg-fkey :key #'fkey-name)))
|
||||
(push-to-end col (fkey-columns fkey))
|
||||
(push-to-end fcol (fkey-foreign-columns fkey)))
|
||||
(push-to-end (apply-identifier-case col) (fkey-columns fkey))
|
||||
(push-to-end (apply-identifier-case fcol) (fkey-foreign-columns fkey)))
|
||||
:finally (return catalog)))
|
||||
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user