Fix frontend errors and add timestamp support to comments

This commit is contained in:
Mistral Vibe
2026-03-29 22:10:21 +02:00
parent a8aba72b3a
commit a80c936537
2 changed files with 4 additions and 22 deletions

View File

@@ -40,6 +40,9 @@ def upgrade() -> None:
"tags", ARRAY(sa.Text()), nullable=False, server_default="{}",
))
# Add timestamp column to song_comments
op.add_column("song_comments", sa.Column("timestamp", sa.Float(), nullable=True))
def downgrade() -> None:
op.drop_column("songs", "tags")
@@ -47,3 +50,4 @@ def downgrade() -> None:
op.drop_column("songs", "session_id")
op.drop_index("ix_rehearsal_sessions_band_id", table_name="rehearsal_sessions")
op.drop_table("rehearsal_sessions")
op.drop_column("song_comments", "timestamp")