From 3bb069cf65fab15ff566690d088358ec0c780f24 Mon Sep 17 00:00:00 2001 From: walkor Date: Thu, 5 Jan 2023 15:05:52 +0800 Subject: [PATCH] Update TableController.php --- src/plugin/admin/app/controller/TableController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/plugin/admin/app/controller/TableController.php b/src/plugin/admin/app/controller/TableController.php index 3fa88a6..8933c63 100644 --- a/src/plugin/admin/app/controller/TableController.php +++ b/src/plugin/admin/app/controller/TableController.php @@ -1522,7 +1522,7 @@ EOF; } if ($method != 'text' && $default !== null) { - $sql .= "DEFAULT '$default' "; + $sql .= "DEFAULT $default "; } if ($comment !== null) {