Fix frontend errors and add timestamp support to comments
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user