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