|
|
@@ -532,11 +532,11 @@ class GenerateModelAnnotation extends Command
|
|
|
if ($modelClass) {
|
|
|
$sqlContent .= "-- 对应的Model: {$modelClass}\n";
|
|
|
}
|
|
|
- $sqlContent .= "-- 警告: 此文件由系统自动生成,禁止手动修改!\n";
|
|
|
+ $sqlContent .= "-- 警告: 此文件由系统自动生成,禁止修改!\n";
|
|
|
$sqlContent .= "-- ******************************************************************\n\n";
|
|
|
|
|
|
// $sqlContent .= "DROP TABLE IF EXISTS `{$tableName}`;\n";
|
|
|
-// $sqlContent .= "{$createSQL};\n";
|
|
|
+ $sqlContent .= "{$createSQL};\n";
|
|
|
|
|
|
File::put($sqlFile, $sqlContent);
|
|
|
$this->debug("已生成SQL: {$sqlFile} (无前缀表名: {$tableNameWithoutPrefix})");
|