mirror of
https://github.com/langgenius/dify.git
synced 2026-05-02 06:56:29 +08:00
add: language for banner
This commit is contained in:
parent
aadac22ce4
commit
e69b588bad
@ -61,17 +61,11 @@ def upgrade():
|
|||||||
type_=sa.String(length=255),
|
type_=sa.String(length=255),
|
||||||
existing_nullable=True)
|
existing_nullable=True)
|
||||||
|
|
||||||
with op.batch_alter_table('providers', schema=None) as batch_op:
|
|
||||||
batch_op.drop_column('credential_status')
|
|
||||||
|
|
||||||
# ### end Alembic commands ###
|
# ### end Alembic commands ###
|
||||||
|
|
||||||
|
|
||||||
def downgrade():
|
def downgrade():
|
||||||
# ### commands auto generated by Alembic - please adjust! ###
|
# ### commands auto generated by Alembic - please adjust! ###
|
||||||
with op.batch_alter_table('providers', schema=None) as batch_op:
|
|
||||||
batch_op.add_column(sa.Column('credential_status', sa.VARCHAR(length=20), server_default=sa.text("'active'::character varying"), autoincrement=False, nullable=True))
|
|
||||||
|
|
||||||
with op.batch_alter_table('datasource_providers', schema=None) as batch_op:
|
with op.batch_alter_table('datasource_providers', schema=None) as batch_op:
|
||||||
batch_op.alter_column('avatar_url',
|
batch_op.alter_column('avatar_url',
|
||||||
existing_type=sa.String(length=255),
|
existing_type=sa.String(length=255),
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user