Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

run seeds sequelize

// with sequelize-cli installed run
// create db
npx sequelize-cli db:create
// drop db
npx sequelize-cli db:drop
// migrate db
npx sequelize-cli db:migrate
// run all seeds
npx sequelize-cli db:seed:all
Source by levelup.gitconnected.com #
 
PREVIOUS NEXT
Tagged: #run #seeds #sequelize
ADD COMMENT
Topic
Name
7+1 =