user table without id as primary key
khirul opened this issue · 0 comments
khirul commented
i am using established database for my project. the problem is my user table using user_id instead of id as primary key.. the system give this error AttributeError: 'UserModel' object has no attribute 'id'.. my question is how to tell identity to use user_id instead of id?