Skip to content

Commit

Permalink
chore: some fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kravetsone committed Jul 14, 2024
1 parent fa06048 commit a3c6fd5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ import task from "tasuku";
import {
generateEslintConfig,
getDBIndex,
getDBMigrate,
getDrizzleConfig,
getEnvFile,
getIndex,
Expand Down Expand Up @@ -187,10 +186,6 @@ createOrFindDir(projectDir).then(async () => {
? `// import { mysqlTable } from "drizzle-orm/mysql-core"`
: `// import { sqliteTable } from "drizzle-orm/sqlite-core"`,
);
await fs.writeFile(
`${projectDir}/src/db/migrate.ts`,
getDBMigrate(preferences),
);
if (preferences.database === "SQLite")
await fs.writeFile(`${projectDir}/src/db/sqlite.db`, "");
}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/eslint.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default antfu(
drizzle,
},
},
)];
);
`,
].join("\n");
}

0 comments on commit a3c6fd5

Please sign in to comment.