Update TableController.php

This commit is contained in:
walkor 2023-01-05 15:05:52 +08:00 committed by GitHub
parent a795555220
commit 3bb069cf65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1522,7 +1522,7 @@ EOF;
}
if ($method != 'text' && $default !== null) {
$sql .= "DEFAULT '$default' ";
$sql .= "DEFAULT $default ";
}
if ($comment !== null) {