fix generator template

This commit is contained in:
2025-04-17 22:05:58 +04:00
parent 2b668ba89f
commit a94f8e2bfd
6 changed files with 36 additions and 9 deletions

View File

@@ -152,7 +152,6 @@ impl Module for ModelsModule {
config.clone(),
);
files.push((mod_path.clone(), format!("pub mod {};", table.name)));
if path.exists() {
tracing::debug!(?path, "Model file already exists");
continue;