$ node src/database/teste.js
(node:15996) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'run' of undefined
at module.exports (D:\Repositorios\PARTICULAR\GitHub\Rocketseat\nlw2020\src\database\createProffy.js:4:37)
at D:\Repositorios\PARTICULAR\GitHub\Rocketseat\nlw2020\src\database\teste.js:35:11
(node:15996) 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:15996) [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.
Exemplo do Mayk (1:14:25)