feat: add waveform voice messages end-to-end
All checks were successful
CI / test (push) Successful in 23s
All checks were successful
CI / test (push) Successful in 23s
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from sqlalchemy import ForeignKey, Integer, String
|
||||
from sqlalchemy import ForeignKey, Integer, String, Text
|
||||
from sqlalchemy.orm import Mapped, mapped_column, relationship
|
||||
|
||||
from app.database.base import Base
|
||||
@@ -12,5 +12,6 @@ class Attachment(Base):
|
||||
file_url: Mapped[str] = mapped_column(String(1024), nullable=False)
|
||||
file_type: Mapped[str] = mapped_column(String(64), nullable=False)
|
||||
file_size: Mapped[int] = mapped_column(Integer, nullable=False)
|
||||
waveform_data: Mapped[str | None] = mapped_column(Text, nullable=True)
|
||||
|
||||
message = relationship("Message", back_populates="attachments")
|
||||
|
||||
Reference in New Issue
Block a user