mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 20:12:55 +01:00
7 lines
No EOL
249 B
Python
7 lines
No EOL
249 B
Python
from private_gpt.users.db.base_class import Base
|
|
from sqlalchemy import Column, String, Text, Integer
|
|
|
|
class Role(Base):
|
|
id = Column(Integer, primary_key=True, index=True)
|
|
name = Column(String(100), index=True)
|
|
description = Column(Text) |