We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Add the API endpoints but verify if it is nothing existing already. Add Mentors Admin Delete Mentor Admin
check corresponding Frontend https://github.com/orgs/ALCOpenSource/projects/16/views/1?pane=issue&itemId=24567008
The text was updated successfully, but these errors were encountered:
@askinss What do you think about this
class User(Base): __tablename__ = "users" id = Column(Integer, primary_key=True) name = Column(String) email = Column(String, unique=True) password = Column(String) role_id = Column(Integer, ForeignKey("roles.id")) role = relationship("Role", back_populates="users") class Role(Base): __tablename__ = "roles" id = Column(Integer, primary_key=True) name = Column(Enum("user", "mentor", "mentor_manager", name="role_types")) users = relationship("User", back_populates="role") def __repr__(self): return f"<Role(name={self.name})>"
Sorry, something went wrong.
Albert-Byrone
No branches or pull requests
Add the API endpoints but verify if it is nothing existing already.
Add Mentors Admin
Delete Mentor Admin
check corresponding Frontend
https://github.com/orgs/ALCOpenSource/projects/16/views/1?pane=issue&itemId=24567008
The text was updated successfully, but these errors were encountered: