{"push_id":1053606783,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"2339d45641705ad7f862f591a70ca5cd4187f75e","before":"f0de10b4ca02c5b07e05d904cd4766ad7b170a3a","commits":[{"sha":"2339d45641705ad7f862f591a70ca5cd4187f75e","author":{"email":"a5b177296325b3f09e217d117329a82808072c9d@gmail.com","name":"talpasco"},"message":"MySQL configuration\n\n1) Modifyed the datasources so 'db' is MySQL\n2) Added loopback-connector-mysql to 'package.json'\n3) Added 'autoupdate.js' to the boot sequence so MySQL server will be\nupdated.\n4) Had to hide\\comment the code inside \"boot\\sample-models.js\" in order\nto update MySQL.\n5) run node .\n6) it will fail at the first time... so run it again.\n7) unComment the code inside \"boot\\sample-models.js\"\n8) now you can run 'node .' without missing anything, but it would fail\nat the creation of users relations:\nRunning this example on memory DB, it runs perfectly.\nBut, using MySQL as data-source, produce the following error:\n\nC:\\loopback-example-access-control\\node_modules\\mysql\\lib\\protocol\\Parser.js:77\nthrow err; // Rethrow non-MySQL errors\n^\nValidationError: The user instance is not valid. Details: email is\ninvalid (value: \"john@doe.com\"); username is invalid (value:\n\"John\").,ValidationError: The user instance is not valid. Details: email\nis invalid (value: \"jane@doe.com\"); username is invalid (value:\n\"Jane\").,ValidationError: The user instance is not valid. Details: email\nis invalid (value: \"bob@projects.com\"); username is invalid (value:\n\"Bob\").\n\nMany thanks for all of you who are helping with this awesome project,\nTal","distinct":true,"url":"https://api.github.com/repos/talpasco/loopback-example-access-control/commits/2339d45641705ad7f862f591a70ca5cd4187f75e"}]}