chore: change the oauth_provider_apps table to uuidV7 (#24792)
This commit is contained in:
parent
52e9bcbfdb
commit
14e7ba4818
2 changed files with 3 additions and 3 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue