From 23c8274b7c9400edcad8e7bd1495228480f6c5f5 Mon Sep 17 00:00:00 2001 From: Dave Mills Date: Fri, 16 Jun 2023 12:23:17 +0100 Subject: [PATCH] swap to db::unprepared - db::statement appears to fail on creating procedures --- src/Commands/UpdateSqlViews.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Commands/UpdateSqlViews.php b/src/Commands/UpdateSqlViews.php index aec1422..d3e135b 100644 --- a/src/Commands/UpdateSqlViews.php +++ b/src/Commands/UpdateSqlViews.php @@ -75,7 +75,7 @@ public function processProcsDir(string $dir_path) $query = file_get_contents("{$dir_path}/{$file}"); - $done = DB::statement($query); + $done = DB::unprepared($query); if ($done) { $countProcs++;