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
I have a Session table and a User table. The Session table has a foreign referencing the primary key (id) of the User. Now I want to create a new Session for a user:
db.Session.create({
token: hash,
user: user.id,
created: new Date()}, cb);
But the user column doesn't get set in the resulting SQL statement. Why?
The text was updated successfully, but these errors were encountered:
Hi.
I have a Session table and a User table. The Session table has a foreign referencing the primary key (id) of the User. Now I want to create a new Session for a user:
db.Session.create({
token: hash,
user: user.id,
created: new Date()}, cb);
But the user column doesn't get set in the resulting SQL statement. Why?
The text was updated successfully, but these errors were encountered: