feat(medusa): Remove sqlite support (#4026)

This commit is contained in:
Oliver Windall Juhl authored and GitHub committed 2023-05-17 12:13:36 +02:00
1 parent e2d29d35c4
commit a91987fab3
17 files changed
+148 -415

No files matched your search

@@ -363,15 +363,8 @@ export const newStarter = async (args) => {
}
const medusaConfig = getMedusaConfig(rootPath)
if (medusaConfig) {
let isPostgres = false
if (medusaConfig.projectConfig) {
const databaseType = medusaConfig.projectConfig.database_type
isPostgres = databaseType === "postgres"
}
if (!isPostgres && seed) {
await attemptSeed(rootPath)
}
if (medusaConfig && seed) {
await attemptSeed(rootPath)
}
}