Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

column cannot be cast automatically to type bigint postgres sequelize

queryInterface.changeColumn('table', 'column', {
        type: 'INTEGER USING CAST("column" as INTEGER)'
});
Source by www.google.com #
 
PREVIOUS NEXT
Tagged: #column #cast #automatically #type #bigint #postgres #sequelize
ADD COMMENT
Topic
Name
5+8 =