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
@@ -45,21 +45,6 @@ Manage the content of your storefront with rich Content Management System (CMS)
|
||||
DATABASE_URL=<YOUR_DB_URL>
|
||||
```
|
||||
|
||||
3\. In `medusa-config.js`, enable PostgreSQL and remove the SQLite configurations:
|
||||
|
||||
```js
|
||||
module.exports = {
|
||||
projectConfig: {
|
||||
// ...
|
||||
database_url: DATABASE_URL,
|
||||
database_type: "postgres",
|
||||
// REMOVE OR COMMENT OUT THE BELOW:
|
||||
// database_database: "./medusa-db.sql",
|
||||
// database_type: "sqlite",
|
||||
},
|
||||
}
|
||||
```
|
||||
|
||||
4\. Migrate the content types into Contentful with the following command:
|
||||
|
||||
```bash
|
||||
|
||||
Reference in new issue
Block a user