1.Excel文件字段顺序调整

2.测试排程时增加执行记录,编号与其他场景编号分开
This commit is contained in:
hugo committed 2026-05-20 18:50:53 +08:00
1 parent ddc461f548
commit ae6ced00b5
10 files changed
+194 -76

No files matched your search

@@ -0,0 +1,26 @@
"""store excel in database instead of local filesystem
Revision ID: a9b0c1d2e3f4
Revises: f8b9c0d1e2f3
Create Date: 2026-05-20 00:00:00.000000
"""
from alembic import op
import sqlalchemy as sa
revision = 'a9b0c1d2e3f4'
down_revision = ('b7a1c2d3e4f5', 'f8b9c0d1e2f3')
branch_labels = None
depends_on = None
def upgrade() -> None:
with op.batch_alter_table('schedule_runs', schema=None) as batch_op:
batch_op.add_column(sa.Column('excel_file_data', sa.LargeBinary(), nullable=True))
batch_op.drop_column('excel_file_path')
def downgrade() -> None:
with op.batch_alter_table('schedule_runs', schema=None) as batch_op:
batch_op.add_column(sa.Column('excel_file_path', sa.Text(), nullable=True))
batch_op.drop_column('excel_file_data')