File size: 281 Bytes
b7a7f32
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
from sqlalchemy import Column, Integer, String

from core.db import Base
from sqlalchemy import Column, Integer, String


class UserPermission(Base):
    id = Column(Integer, primary_key=True)
    name = Column(String, unique=True, index=True)
    __tablename__ = "userpermission"