Skip to content

Commit 43bb879

Browse files
committed
Fix compilation error.
Introduced recently when refactoring the match rules, forgot to update all call sites, and the bug went unnoticed for a while, oops. Not sure the fix is all we need to get back a working feature (alter schema rename to), but it allows to compile and that's all I have the time to handle today. See dimitri#466.
1 parent 4a43149 commit 43bb879

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/parsers/command-alter-table.lisp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@
7474
(:lambda (alter-schema-command)
7575
(bind (((_ _ current-name _ _ new-name) alter-schema-command))
7676
(pgloader.catalog::make-match-rule
77-
:type :string
78-
:target current-name
77+
:rule (make-string-match-rule :target current-name)
7978
:action #'pgloader.catalog::alter-schema-rename
8079
:args (list new-name)))))
8180

0 commit comments

Comments
 (0)