Skip to content

Auto increment id for accesstoken table is not sufficient for large applications #177

@oreh

Description

@oreh

Currently, the PK of accesstoken table is using int type (as default django table id does). But this 32-bit field can only hold around 2 billions records. The keys will be used out in a year if you have 10 millions users who generate new keys on a daily basis.

Can we change the type from int to bigint? Or even better, can we use 'token' as the PK?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions