You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(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
The text was updated successfully, but these errors were encountered:
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
) REFERENCESroles
(id
) ON DELETE CASCADE ON UPDATE CASCADE, FOREIGN KEY (userId
) REFERENCESusers
(id
) ON DELETE CASCADE ON UPDATE CASCADE) ENGINE=InnoDB;Executing (default): SHOW INDEX FROM
user_roles
The text was updated successfully, but these errors were encountered: