Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Executing (default): SHOW INDEX FROM users #6

Open
smidhunraj opened this issue Jan 6, 2021 · 3 comments
Open

Executing (default): SHOW INDEX FROM users #6

smidhunraj opened this issue Jan 6, 2021 · 3 comments

Comments

@smidhunraj
Copy link

when i run node server.js

of this following code here https://github.com/bezkoder/node-js-jwt-auth

I get the following output

(node:20977) [SEQUELIZE0004] DeprecationWarning: A boolean value was passed to options.operatorsAliases. This is a no-op with v5 and should be removed.
(Use node --trace-deprecation ... to show where the warning was created)
Server is running on port 8080.
Executing (default): CREATE TABLE IF NOT EXISTS users (id INTEGER NOT NULL auto_increment , username VARCHAR(255), email VARCHAR(255), password VARCHAR(255), createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL, PRIMARY KEY (id)) ENGINE=InnoDB;

Executing (default): SHOW INDEX FROM users
Executing (default): CREATE TABLE IF NOT EXISTS roles (id INTEGER , name VARCHAR(255), createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL, PRIMARY KEY (id)) ENGINE=InnoDB;
Executing (default): SHOW INDEX FROM roles
Executing (default): CREATE TABLE IF NOT EXISTS user_roles (createdAt DATETIME NOT NULL, updatedAt DATETIME NOT NULL, roleId INTEGER , userId INTEGER , PRIMARY KEY (roleId, userId), FOREIGN KEY (roleId) REFERENCES roles (id) ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY (userId) REFERENCES users (id) ON DELETE CASCADE ON UPDATE CASCADE) ENGINE=InnoDB;
Executing (default): SHOW INDEX FROM user_roles

@meghead
Copy link

meghead commented Feb 19, 2021

@Kingyungu
Copy link

@smidhunraj did you find a solution to the problem? I'm having the same issues.

@michaelniemand
Copy link

michaelniemand commented Apr 29, 2023

@smidhunraj did you find a solution to the problem? I'm having the same issues.

it's not an error. The script just ends this way. See: https://stackoverflow.com/a/69078907

Same issue here. Seems it's just a warning. https://stackoverflow.com/questions/58593200/deprecationwarning-a-boolean-value-was-passed-to-options-operatorsaliases-this

it's in fact just a warning; the 'SHOW INDEX FROM users' issue is unrelated and not actually an issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants