Closed but1head closed 5 years ago
Hi, i added support for postgres arrays.
# model.js categories: { type: DataTypes.ARRAY(DataTypes.INTEGER), defaultValue: [], } # generated migration "categories": { "type": Sequelize.ARRAY(Sequelize.INTEGER), "field": "categories", "defaultValue": Sequelize.Object } # postgres ddl CREATE TABLE "***" ( ... categories integer[], ... );
works fine
Up...
Hi, i added support for postgres arrays.
works fine