Skip to content

Generate fluent API for IDENTITY seed and increment #16922

Closed

Description

@bricelam

Some questions that have come up:

  • What happens in migrations when you change the seed or increment values?
  • Does the model snapshot call the fluent API?
  • Should the two model annotations be consolidated into one?

Activity

  1. ajcvickers commented on Aug 3, 2019

    @ajcvickers
    Contributor

    @bricelam

    What happens in migrations when you change the seed or increment values?

    What do we do for sequences?

    Does the model snapshot call the fluent API?

    We can do this later without it being breaking, right?

    Should the two model annotations be consolidated into one?

    Seems like you did this in the PR, or is this something different?

  2. bricelam commented on Aug 3, 2019

    @bricelam
    ContributorAuthor

    What happens in migrations when you change the seed or increment values?

    What do we do for sequences?

    There is SQL to alter and reset them.

    Does the model snapshot call the fluent API?

    We can do this later without it being breaking, right?

    Yes, but we’ll have to special case the existing annotations forevermore

    Should the two model annotations be consolidated into one?

    Seems like you did this in the PR, or is this something different?

    I only did it in Migration operations, we could do the same in the model

  3. added this to the 3.0.0 milestone on Aug 5, 2019
  4. changed the title [-]Review the IDENTITY seed and increment implementation[/-] [+]Generate fluent API for IDENTITY seed and increment[/+] on Aug 5, 2019
  5. ajcvickers commented on Aug 5, 2019

    @ajcvickers
    Contributor

    Split out #16964 and #16965 to backlog; leaving this in 3.0.

  6. bricelam commented on Aug 12, 2019

    @bricelam
    ContributorAuthor

    Looks like we haven't yet provided a hook for providers to handle annotations in the model snapshot.

  7. removed this from the 3.0.0 milestone on Aug 12, 2019
  8. added this to the Backlog milestone on Aug 14, 2019
  9. 23 remaining items

  10. added a commit that references this issue on Jun 20, 2020
    c4a2bad
  11. modified the milestones: 5.0.0, on Jun 22, 2020
  12. modified the milestones: , 5.0.0 on Nov 7, 2020
  13. added theissue type on Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions