Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sequelize change column

queryInterface.changeColumn('Person', 'foo', {
  type: DataTypes.FLOAT,
  defaultValue: 3.14,
  allowNull: false
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sequelize #change #column
ADD COMMENT
Topic
Name
8+6 =