不要怂,就是干,撸起袖子干!

Commit bca8ba9f by soundyogi

Update index.md

The Script is not working because of the lonely "return"
1 parent e5b3c0cd
Showing with 1 additions and 1 deletions
...@@ -20,7 +20,7 @@ var User = sequelize.define('User', { ...@@ -20,7 +20,7 @@ var User = sequelize.define('User', {
birthday: Sequelize.DATE birthday: Sequelize.DATE
}); });
return sequelize.sync().then(function() { sequelize.sync().then(function() {
return User.create({ return User.create({
username: 'janedoe', username: 'janedoe',
birthday: new Date(1980, 6, 20) birthday: new Date(1980, 6, 20)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!