This commit is contained in:
JaguarJack
2023-01-18 18:00:48 +08:00
parent e3dd4ee86c
commit 527aca2250
2 changed files with 4 additions and 2 deletions

View File

@@ -56,7 +56,7 @@ class Schemas extends CatchModel
'columns' => implode(',', array_column($structures, 'field')),
'is_soft_delete' => $schema['deleted_at'] ? Status::Enable : Status::Disable
]);
], true);
try {
$schemaCreate = new Schema($schema['name'], $schema['engine'], $schema['charset'], $schema['collection'], $schema['comment']);