[BUILD-412] Migrate existent users to the new Plan logic (PR #2139)

GitHub

The author of this PR, scpaes, is not an activated member of this organization on Codecov.
Please activate this user on Codecov to display this PR comment.
Coverage data is still being uploaded to Codecov.io for purposes of overall coverage calculations.
Please don’t hesitate to email us at support@codecov.io with any questions.

            Plan(name="AnkiHub plus AI", slug="ankihub_plus_ai",
                 features=[FeatureChoices.FREE_DECKS_COLLABORATION, FeatureChoices.PAID_DECKS_COLLABORATION,
                           FeatureChoices.FLASHCARD_SELECTOR, FeatureChoices.REVIEWER_EXTENSION]),

I added the card review extension feature to the AnkiHub AI plan.

The title of this pull request changed from “BUILD-412 Migrate existent users to the new Plan logic [WIP]” to "BUILD-412 Migrate existent users to the new Plan logic

I created multiple versions of the script to update the database. Here are the links to the gists. Both scripts have the same number of queries, and I am open to suggestions for improving their performance.

The title of this pull request changed from “BUILD-412 Migrate existent users to the new Plan logic” to "[BUILD-412] Migrate existent users to the new Plan logic