feat: crud and backups are working
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
from sqlalchemy import JSON, Column, Integer, String
|
||||
from .database import Base
|
||||
|
||||
|
||||
class Item(Base):
|
||||
__tablename__ = "items"
|
||||
|
||||
id = Column(Integer, primary_key=True, index=True)
|
||||
name = Column(String, index=True)
|
||||
description = Column(String, nullable=True)
|
||||
body = Column(JSON, nullable=False)
|
||||
Reference in New Issue
Block a user