Replaces MongoDB support with PostgreSQL (#151)

- All schemas have been rewritten to a relational model
- All services have been rewritten to accommodate the new data model
- Adds idempotency keys to core endpoints allowing you to retry requests with no additional side effects
- Adds staged jobs to avoid putting jobs in the queue when transactions abort
- Adds atomic transactions to all methods with access to the data layer

Co-authored-by: Oliver Windall Juhl <oliver@mrbltech.com>
This commit is contained in:
Sebastian Rindom
2021-01-26 10:18:09 +01:00
parent 5f819486fc
commit f1baca3cbd
499 changed files with 25909 additions and 16128 deletions

View File

@@ -1,10 +1,9 @@
0 silly argv { _: [ 'publish' ],
0 silly argv composed: 'publish',
0 silly argv lernaVersion: '3.20.2',
0 silly argv '$0': '/usr/local/bin/lerna',
0 silly argv bump: 'from-git' }
1 notice cli v3.20.2
0 silly argv { _: [ 'bootstrap' ],
0 silly argv lernaVersion: '3.22.1',
0 silly argv '$0': '/usr/local/bin/lerna' }
1 notice cli v3.22.1
2 verbose rootPath /Users/srindom/Developer/medusa-js
3 error JSONError: Unexpected token : in JSON at position 9 while parsing near ' "name": "@medusajs/medusa"...' in packages/medusa/package.json
3 error at module.exports (/Users/srindom/Developer/medusa-js/node_modules/parse-json/index.js:26:19)
3 error at parse (/Users/srindom/Developer/medusa-js/node_modules/load-json-file/index.js:15:9)
3 info versioning independent
4 error JSONError: Unexpected token < in JSON at position 34 while parsing near '...edusa-file-spaces",<<<<<<< HEAD "vers...' in packages/medusa-file-spaces/package.json
4 error at module.exports (/Users/srindom/Developer/medusa-js/node_modules/parse-json/index.js:26:19)
4 error at parse (/Users/srindom/Developer/medusa-js/node_modules/load-json-file/index.js:15:9)