Fix the automigrate issue

/to @ritch @fabien 
/cc @superkhau 

See https://github.com/strongloop/loopback-example-relations-basic/issues/6