From c1ba1be2ef958a03ee1b1135d26c7fbcc6f536e8 Mon Sep 17 00:00:00 2001 From: qbart Date: Fri, 3 Dec 2021 00:46:29 +0100 Subject: [PATCH] Make sure schema is quoted --- spec/action_migrate_up_arguments_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/spec/action_migrate_up_arguments_test.go b/spec/action_migrate_up_arguments_test.go index e27ee22..ec99ec7 100644 --- a/spec/action_migrate_up_arguments_test.go +++ b/spec/action_migrate_up_arguments_test.go @@ -28,4 +28,5 @@ migration_set "public" { c.AssertSuccessfulRun(t, []string{"migrate", "up", "public", "-schema", "custom"}) c.AssertSchemaMigrationTableMissing(t, "public") c.AssertSchemaMigrationTable(t, "custom", "v1") + c.AssertSQLContains(t, `SET search_path TO "custom"`) }