Untitled
unknown
plain_text
2 years ago
496 B
6
Indexable
import enum
from sqlalchemy import (
Integer,
Column,
ForeignKey,
String,
Float,
Enum,
Boolean,
Index
)
from ..db_setup import Base
class Variant(Base):
__tablename__ = 'iot-prodigi-part-variant'
__table_args__ = {'extend_existing': True}
id = Column(Integer, primary_key = True)
variant_id = Column(Integer)
name = Column(String)
shop_id = Column(Integer, index=True)
idx_name = Index('Variant_idx_name', name)
Editor is loading...
Leave a Comment