Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sequelize add column existing model

Add altering commands here.
Return a promise to correctly handle asynchronicity.

Example:
return queryInterface.createTable('users', { id: Sequelize.INTEGER });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sequelize #add #column #existing #model
ADD COMMENT
Topic
Name
1+6 =