添加注册登录功能

This commit is contained in:
2025-08-29 00:34:40 +08:00
parent 09065f2ce7
commit 2fe3474d9e
3060 changed files with 29217 additions and 87137 deletions

View File

@@ -1714,9 +1714,12 @@ class Inspector(inspection.Inspectable["Inspector"]):
if pk in cols_by_orig_name and pk not in exclude_columns
]
# update pk constraint name and comment
# update pk constraint name, comment and dialect_kwargs
table.primary_key.name = pk_cons.get("name")
table.primary_key.comment = pk_cons.get("comment", None)
dialect_options = pk_cons.get("dialect_options")
if dialect_options:
table.primary_key.dialect_kwargs.update(dialect_options)
# tell the PKConstraint to re-initialize
# its column collection