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
Instead of having PatientId being an autogenerated primary key for Patient table, and having UserId as a foreign key to User.UserId,
delete the column UserId from Patient table, and make PatientId both the primary key as well as the foreign key to User.UserId. Do not autogenerate PatientId, simply copy the value from the User.UserId table.
The text was updated successfully, but these errors were encountered:
Instead of having PatientId being an autogenerated primary key for Patient table, and having UserId as a foreign key to User.UserId,
delete the column UserId from Patient table, and make PatientId both the primary key as well as the foreign key to User.UserId. Do not autogenerate PatientId, simply copy the value from the User.UserId table.
The text was updated successfully, but these errors were encountered: