Criar um arquivo de migração:
npm run db:migrate:generate create_some_table
Executar as migrações
npm run db:migrate
Executar roolback
npm run db:migrate:rollback
node server.js
zip -r lambda.zip -r .
aws lambda update-function-code --function-name={FUNCTION_NAME} --zip-file=fileb://lambda.zip --profile {PROFILE}