Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
chore: change the oauth_provider_apps table to uuidV7 (#24792)
非法操作14e7ba4818c2
diff --git a/api/migrations/versions/2025_08_20_1747-8d289573e1da_add_oauth_provider_apps.py b/api/migrations/versions/2025_08_20_1747-8d289573e1da_add_oauth_provider_apps.pyindex 5986853f011..3a3186bcbc2 100644--- a/api/migrations/versions/2025_08_20_1747-8d289573e1da_add_oauth_provider_apps.py+++ b/api/migrations/versions/2025_08_20_1747-8d289573e1da_add_oauth_provider_apps.py@@ -1,7 +1,7 @@"""empty messageRevision ID: 8d289573e1da-Revises: fa8b0fa6f407+Revises: 0e154742a5faCreate Date: 2025-08-20 17:47:17.015695"""@@ -20,7 +20,7 @@ depends_on = Nonedef upgrade():# ### commands auto generated by Alembic - please adjust! ###op.create_table('oauth_provider_apps',- sa.Column('id', models.types.StringUUID(), server_default=sa.text('uuid_generate_v4()'), nullable=False),+ sa.Column('id', models.types.StringUUID(), server_default=sa.text('uuidv7()'), nullable=False),sa.Column('app_icon', sa.String(length=255), nullable=False),sa.Column('app_label', sa.JSON(), server_default='{}', nullable=False),sa.Column('client_id', sa.String(length=255), nullable=False),diff --git a/api/models/model.py b/api/models/model.pyindex 6a0e0af482b..aa1a87e3bf6 100644--- a/api/models/model.py+++ b/api/models/model.py@@ -592,7 +592,7 @@ class OAuthProviderApp(Base):sa.Index("oauth_provider_app_client_id_idx", "client_id"),)- id = mapped_column(StringUUID, server_default=sa.text("uuid_generate_v4()"))+ id = mapped_column(StringUUID, server_default=sa.text("uuidv7()"))app_icon = mapped_column(String(255), nullable=False)app_label = mapped_column(sa.JSON, nullable=False, server_default="{}")client_id = mapped_column(String(255), nullable=False)