Removed the unused "random_pk" annotated type alias.
This commit is contained in:
parent
158058dcfb
commit
9ae8d587d8
@ -42,9 +42,6 @@ user_pk: Type[int] \
|
|||||||
= Annotated[int, mapped_column(db.ForeignKey(user_pk_column,
|
= Annotated[int, mapped_column(db.ForeignKey(user_pk_column,
|
||||||
onupdate="CASCADE"))]
|
onupdate="CASCADE"))]
|
||||||
"""The user primary key."""
|
"""The user primary key."""
|
||||||
random_pk: Type[int] \
|
|
||||||
= Annotated[int, mapped_column(primary_key=True, autoincrement=False)]
|
|
||||||
"""The random primary key."""
|
|
||||||
|
|
||||||
|
|
||||||
class BaseAccount(db.Model):
|
class BaseAccount(db.Model):
|
||||||
|
Loading…
Reference in New Issue
Block a user