feat(medusa): Remove sqlite support (#4026)
This commit is contained in:
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)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user