mirror of https://github.com/langgenius/dify.git
Apply suggestion from @gemini-code-assist[bot]
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
This commit is contained in:
parent
cf2457a03c
commit
2e2d7a5345
|
|
@ -123,7 +123,7 @@ class EndUserAuthenticationProvider(TypeBase):
|
|||
)
|
||||
|
||||
# id of the authentication provider
|
||||
id: Mapped[str] = mapped_column(StringUUID, primary_key=True, default=uuidv7, init=False)
|
||||
id: Mapped[str] = mapped_column(StringUUID, primary_key=True, default=lambda: str(uuid4()), init=False)
|
||||
name: Mapped[str] = mapped_column(
|
||||
String(256),
|
||||
nullable=False,
|
||||
|
|
|
|||
Loading…
Reference in New Issue