ECO-183: fix migration file conflits

This commit is contained in:
Charles Yao
2025-11-25 17:24:49 -06:00
parent e36d460d67
commit 1636b228db
2 changed files with 7 additions and 7 deletions

View File

@@ -1,7 +1,7 @@
"""add enduser authentication provider
Revision ID: a7b4e8f2c9d1
Revises: 132392a2635f
Revises: fecff1c3da27
Create Date: 2025-11-18 14:00:00.000000
"""
@@ -11,7 +11,7 @@ from alembic import op
# revision identifiers, used by Alembic.
revision = "a7b4e8f2c9d1"
down_revision = "132392a2635f"
down_revision = "fecff1c3da27"
branch_labels = None
depends_on = None

View File

@@ -124,17 +124,17 @@ class EndUserAuthenticationProvider(TypeBase):
# id of the authentication provider
id: Mapped[str] = mapped_column(StringUUID, primary_key=True, default=lambda: str(uuid4()), init=False)
name: Mapped[str] = mapped_column(
String(256),
nullable=False,
default="API KEY 1",
)
# id of the tenant
tenant_id: Mapped[str] = mapped_column(StringUUID, nullable=False)
# id of the end user
end_user_id: Mapped[str] = mapped_column(StringUUID, nullable=False)
# name of the tool provider
provider: Mapped[str] = mapped_column(LongText, nullable=False)
name: Mapped[str] = mapped_column(
String(256),
nullable=False,
default="API KEY 1",
)
# encrypted credentials for the end user
encrypted_credentials: Mapped[str] = mapped_column(LongText, nullable=False, default="")
created_at: Mapped[datetime] = mapped_column(