-
## What you are doing?
Attempting to use a pre-existing schema/migrations file with a user does not have `CREATE` permission on the database.
```javascript
// .sequelizerc
const path = requi…
-
I was trying to update my package and ran into this error
[ec2-user@ip-172-31-11-80 timeoff-management]$ npm run-script db-update
> TimeOff.Management@0.10.0 db-update /home/ec2-user/timeoff-man…
-
I'm having the following error when trying to run
`sequelize db:migrate`
```
Sequelize [Node: 8.4.0, CLI: 2.8.0, ORM: 1.7.5]
Loaded configuration file "db/database.js".
Using environment "de…
-
## What are you doing?
Running a migration:
```js
export default {
up: queryInterface => queryInterface.bulkInsert('my_table', []),
};
```
**To Reproduce**
Steps to reproduce the behavior:…
-
`Article.toJson` individually gets author. We should get them as a join instead. Same for tags. Otherwise we get 3 queries per row (article author, tag and tag count) / or 5 if logged in (+1 for user …
-
Create a Group model representing group data.
Primary file: `/models/group.js`
-
## 에러 내용
```
ERROR: Requires Babel "^7.0.0-0", but was loaded with "6.26.3". If you are sure you have a compatible version of
@babel/core, it is likely that something in your build process is load…
-
-
> Antes de mais nada leia bem o [readme](https://github.com/UFERSA-Vai-de-Bike/ufersavdbAPI/blob/master/README.md).
### Desacoplar banco
Seria possível usar alguma estratégia de stub de dados e …
-
## What are you doing?
demo:
https://github.com/eugene-matvejev/node-explorer/pull/10/files
```js
# file 1
'use strict';
module.exports = {
up: (queryInterface, Sequelize) => {
r…