strongloop-archive / strong-gateway-demo

DEPRECATED | Our new gateway product is available at https://github.com/strongloop/microgateway.
Other
35 stars 34 forks source link

`oauthclientapplication` table not automigrated by `setup-db.js` #5

Open superkhau opened 9 years ago

superkhau commented 9 years ago

Step 7 has issues setting up database tables. The regular setup-db.js script automigrates most tables properly except oauthclientapplication form the loopback-component-oauth2:

15-09-04T23:55:48.688Z pid:14653 worker:3 .../strong-gateway-demo/notes-app-gateway/auth-server/node_modules/loopback-connector-mysql/node_modules/mysql/lib/protocol/Parser.js:82
2015-09-04T23:55:48.688Z pid:14653 worker:3         throw err;
2015-09-04T23:55:48.689Z pid:14653 worker:3               ^
2015-09-04T23:55:48.689Z pid:14653 worker:3 Error: ER_NO_SUCH_TABLE: Table 'strong-gateway-demo.oauthclientapplication' doesn't exist