Skip to content

Migration path to add this library into existing project #73

Description

@mojeto

Hi there,
what is the best way to add verify_email into existing project that has active users already?
I want the users to gradually verify their emails without affecting the way they use rest of the system much.
If I install this library it expects linkcounter one to one relation to exist for each user. But this related model instance gets created for new users only.
What is the migration to mitigate this?
Should I create a data migration that creates verify_email_linkcounter data entry for each existing user?
Should the default sent_count be zero in this case?

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions