forum
forum copied to clipboard
SequelizeDatabaseError : Sessions' doesn't exist
Hi,
I am trying to run the code in a Ubuntu 18 machine. When I run "npm run dev" it's migrating DB perfectly (see table list in attached image).
but when front-end making API call, I am getting the error below:
{ SequelizeDatabaseError: ER_NO_SUCH_TABLE: Table 'forum_dev.Sessions' doesn't exist
at Query.formatError (/var/www/html/forum/node_modules/sequelize/lib/dialects/mysql/query.js:175:14)
at Query.
DB table list after migration:

any idea how to fix it? Thanks in advance.
Perhaps, this is similar to my issue, #23 . If possible, you'd add lower_case_table_names = 1 at [mysqld] section in my.cnf.