1.排程管理新增检核规则提示词维护,用于传入Dify中作为检核规则
2.聊天界面内容不可复制问题修复
This commit is contained in:
1 parent
452f6ebc6d
commit
ff2d02051f
17 files changed
+355
-20
No files matched your search
+25
@@ -0,0 +1,25 @@
|
||||
"""add_dify_system_prompt_to_schedule_configs
|
||||
|
||||
Revision ID: d2e3f4a5b6c7
|
||||
Revises: c1d2e3f4a5b6
|
||||
Create Date: 2026-05-25
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
revision = 'd2e3f4a5b6c7'
|
||||
down_revision = 'c1d2e3f4a5b6'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
with op.batch_alter_table('schedule_task_configs', schema=None) as batch_op:
|
||||
batch_op.add_column(sa.Column('dify_system_prompt', sa.Text(), nullable=True))
|
||||
|
||||
|
||||
def downgrade():
|
||||
with op.batch_alter_table('schedule_task_configs', schema=None) as batch_op:
|
||||
batch_op.drop_column('dify_system_prompt')
|
||||
+25
@@ -0,0 +1,25 @@
|
||||
"""add_dify_execution_snapshot_to_schedule_runs
|
||||
|
||||
Revision ID: e3f4a5b6c7d8
|
||||
Revises: d2e3f4a5b6c7
|
||||
Create Date: 2026-05-25
|
||||
|
||||
"""
|
||||
from alembic import op
|
||||
import sqlalchemy as sa
|
||||
|
||||
|
||||
revision = 'e3f4a5b6c7d8'
|
||||
down_revision = 'd2e3f4a5b6c7'
|
||||
branch_labels = None
|
||||
depends_on = None
|
||||
|
||||
|
||||
def upgrade():
|
||||
with op.batch_alter_table('schedule_runs', schema=None) as batch_op:
|
||||
batch_op.add_column(sa.Column('dify_execution_snapshot', sa.JSON(), nullable=True))
|
||||
|
||||
|
||||
def downgrade():
|
||||
with op.batch_alter_table('schedule_runs', schema=None) as batch_op:
|
||||
batch_op.drop_column('dify_execution_snapshot')
|
||||
Reference in new issue
Block a user