Sequelize default id type

I would like to automatically change the id type for all tables for this definition:

id : {
  type : DataTypes.BIGINT.UNSIGNED,
  autoIncrement : true,
  primaryKey : true
}

      

The Sequelize doc has options for general purposes.

But nothing by default attributes, or by custom attributes, is passed to each table. Any idea?

+3


source to share





All Articles