音频文件上传 | AI创作模块兼容音频

This commit is contained in:
2026-07-03 11:44:32 +08:00
parent 899732aa54
commit 28b1d24173
14 changed files with 209 additions and 8 deletions
@@ -0,0 +1,29 @@
"""add video engine max audio count
Revision ID: 054735900c23
Revises: d4e5f6a7b8c9
Create Date: 2026-07-03 11:23:07.721724
"""
from typing import Sequence, Union
from alembic import op
import sqlalchemy as sa
# revision identifiers, used by Alembic.
revision: str = '054735900c23'
down_revision: Union[str, None] = 'd4e5f6a7b8c9'
branch_labels: Union[str, Sequence[str], None] = None
depends_on: Union[str, Sequence[str], None] = None
def upgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.add_column('video_engines', sa.Column('max_audio_count', sa.Integer(), server_default='0', nullable=False))
# ### end Alembic commands ###
def downgrade() -> None:
# ### commands auto generated by Alembic - please adjust! ###
op.drop_column('video_engines', 'max_audio_count')
# ### end Alembic commands ###