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

Commit 31480a9c by Sascha Depold

model delete is working

1 parent 0e26a8da
Showing with 6 additions and 6 deletions
......@@ -12,9 +12,9 @@ User.sync({force: true}).on('success', function() {
user.save.on('success', function(u) {
console.log(u)
console.log('just saved the user :)')
u.destroy.on('success', function() {
console.log('just destroyed the user')
})
})
})
// console.log(user)
// console.log(user.save())
\ No newline at end of file
})
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!