Checking database tables
We could use your own Mysql console to see if the tables were created successfully. However I will use another feature with a graphical interface that greatly facilitates the work, as it allows a faster and easier display, and perform operations on the basis of data very quickly.
As I am using Mac OSX I will use an application called Sequel Pro, it's a free and lightweight application to manage MySql databases.
Tip
You can find more information about Sequel Pro at: http://www.sequelpro.com/.
The previous command: sequelize db:migrate
created the tables as we can see on the following figures:
- This picture shows the Bands table selected on the left side, the right side shows its content with the properties we setup on Band schema: ...
Get Node.js 6.x Blueprints now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.