Skip to content

Simplified autoincremented integer ID migration #61

Closed
@florimondmanca

Description

@florimondmanca

Is your feature request related to a problem? Please describe.
Once #60 is solved, we should be able to provide a much simpler migration for the integer ID.

Describe the solution you'd like
Update AbstractAPIKey by dropping the custom id column, and generate a migration which simply drops the current id field and adds the autoincremented one.

As hinted in #42 (comment), adding/populating the new ID column and dropping the old ID column should be done in two separate migrations. This will allow users to take action in a state where both IDs exist.

We'll still need a migration guide for users with models referring to an APIKey model. See #48

Describe alternatives you've considered
/

Additional context
See #40 and #41 for the previous implementation

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions