Finn Christiansen
d8607212da
Some checks failed
Python formatting PEP8 / Python-PEP8 (push) Failing after 18s
11 lines
264 B
Python
11 lines
264 B
Python
from sqlalchemy import Column, Integer, String
|
|
|
|
from db.database import Base
|
|
|
|
|
|
class Item(Base):
|
|
__tablename__ = "item"
|
|
|
|
id = Column(Integer, primary_key=True, index=True)
|
|
title = Column(String, index=True)
|
|
description = Column(String, index=True)
|