Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/thekevinbrown/mikro-orm-webpack-migrations
Tries to get migrations working with Mirko ORM and webpack
https://github.com/thekevinbrown/mikro-orm-webpack-migrations
Last synced: about 2 months ago
JSON representation
Tries to get migrations working with Mirko ORM and webpack
- Host: GitHub
- URL: https://github.com/thekevinbrown/mikro-orm-webpack-migrations
- Owner: thekevinbrown
- License: mit
- Created: 2020-02-27T00:27:01.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-11T02:03:26.000Z (almost 2 years ago)
- Last Synced: 2023-09-06T09:44:56.160Z (over 1 year ago)
- Language: TypeScript
- Homepage:
- Size: 990 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mikro-orm-webpack-migrations
Tries to get migrations working with Webpack and Mikro ORM
### To Run
- Clone the repo
- `npm i`
- Create a local empty Postgres database called `mikro-orm-test`.
- `npm start`### Current output
```
init
getMigrator
up
(node:49939) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, scandir '/Users/kevin/development/mikro-orm-webpack-migrations/migrations'
(node:49939) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:49939) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
```