column cannot be cast automatically to type bigint postgres sequelize code example
Example: column cannot be cast automatically to type bigint postgres sequelize
queryInterface.changeColumn('table', 'column', {
type: 'INTEGER USING CAST("column" as INTEGER)'
});