Questions tagged as 'sequelize.js'

2
answers

auto_increment at the top mariadb

I am creating an information system fincareport.com and one of my doubts that I have something thoughtful is that it happens with the tables where the column has id with auto_increment of typo Int reaches its maximum value. In case you chang...
asked by 16.02.2018 / 16:14
0
answers

Problem TypeError: tags.setArticulos tags is not a function

I get this error when I try to add a relationship from postman :    TypeError: tags.setArticulos tags is not a function This is the code I use: var db = require('../relations'); var articulos = db.articulos; var tags = db.tags; var ex...
asked by 20.07.2017 / 21:52
1
answer

Add FK to table (association) in the model, sequlize in node (angular fullstack)

I need to add FK in the tables, I've tried it in the following way and I can not do it. Index.html db.Country = db.sequelize.import('../api/country/country.model'); db.City = db.sequelize.import('../api/city/city.model'); module.export...
asked by 09.05.2017 / 19:08