feat: crud and backups are working

This commit is contained in:
2025-05-30 18:49:40 -04:00
parent 3ee136d52d
commit b8ce9ded76
19 changed files with 191 additions and 21 deletions
+11
View File
@@ -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)