mirror of
https://github.com/langgenius/dify.git
synced 2026-03-23 20:01:41 +08:00
fix: change default value of expires_at field in tool_builtin_providers to -1
This commit is contained in:
parent
3b44f11439
commit
d2a0e498ea
@ -20,7 +20,7 @@ depends_on = None
|
||||
def upgrade():
|
||||
# ### commands auto generated by Alembic - please adjust! ###
|
||||
with op.batch_alter_table('tool_builtin_providers', schema=None) as batch_op:
|
||||
batch_op.add_column(sa.Column('expires_at', sa.BigInteger(), server_default=sa.text('2147483647'), nullable=False))
|
||||
batch_op.add_column(sa.Column('expires_at', sa.BigInteger(), server_default=sa.text('-1'), nullable=False))
|
||||
|
||||
# ### end Alembic commands ###
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user