-
The codimd docker-compose documentation states that you can use a [postgres backend](https://github.com/hackmdio/codimd-container/blob/master/docker-compose.yml#L16):
```yml
environment:
…
-
## What you are doing?
I pass sync.alter option to true, but it does not work
```js
var fs = require('fs')
var path = require('path')
var Sequelize = require('sequelize')
var chalk = require('…
-
## What you are doing?
I have a Bills table and Products table. The Bills and Product relation is m:n relationship.
``` js
Product.belongsToMany(models.Bill, {otherKey: 'PROD_ID', foreignKey: "BPD_I…
-
The query returns all fields from all associated files. Instead, we just want to select specific fields from each associated file.
-
Asked it here: https://stackoverflow.com/questions/50272405/sequelize-typescript-typeerror-class-constructor-model-cannot-be-invoked-withou
Repo to reproduce here: https://github.com/avidanyum/test…
-
Since it's using raw queries, but they aren't escaped properly: https://github.com/fix/ark-core/blob/575ae88505a1a92a648825f9069c2ff381e79280/packages/core-database-sequelize/lib/query-builder.js
It …
-
## What are you doing?
```js
this.sequelize = new Sequelize(dbConfig.database, dbConfig.user, dbConfig.password, {
....
define: {
hooks: {
beforeCreate() { console.…
-
+ [x] personal speech list
+ [x] add new speech.
+ [x] change password.
+ [x] edit speech.
-
model does not contain association after doing `model.create[model]()`
```js
db.organization.findOne({
where: {
id: req.params.id
},
include: ['tags']
})
…
-
I am using sequelize with sails js 1.0 and mysql dialect. I'm trying to add a new model through sequelize migration tool but encountering an error.
my model file looks like this:
```
`module.…