mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-14 09:36:13 +08:00
fix(migrations): correct schema reference in service API history migration (#10452)
This commit is contained in:
parent
4f1a56f0f0
commit
78a380bcc4
@ -23,7 +23,7 @@ v0_9_0_release_date= '2024-09-29 12:00:00'
|
|||||||
def upgrade():
|
def upgrade():
|
||||||
# ### commands auto generated by Alembic - please adjust! ###
|
# ### commands auto generated by Alembic - please adjust! ###
|
||||||
sql = f"""UPDATE
|
sql = f"""UPDATE
|
||||||
public.messages
|
messages
|
||||||
SET
|
SET
|
||||||
parent_message_id = '{UUID_NIL}'
|
parent_message_id = '{UUID_NIL}'
|
||||||
WHERE
|
WHERE
|
||||||
@ -37,7 +37,7 @@ WHERE
|
|||||||
def downgrade():
|
def downgrade():
|
||||||
# ### commands auto generated by Alembic - please adjust! ###
|
# ### commands auto generated by Alembic - please adjust! ###
|
||||||
sql = f"""UPDATE
|
sql = f"""UPDATE
|
||||||
public.messages
|
messages
|
||||||
SET
|
SET
|
||||||
parent_message_id = NULL
|
parent_message_id = NULL
|
||||||
WHERE
|
WHERE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user