GeriLife / companionship

Promoting companionship and well-being for everyone.
European Union Public License 1.2
7 stars 18 forks source link

106 - Enable django-linear-migrations #113

Closed earthcomfy closed 1 year ago

earthcomfy commented 1 year ago

Closes: #106

This PR is to configure django-linear-migrations so that linear migration history can be ensured.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

earthcomfy commented 1 year ago

@brylie After I updated my branch, I saw that a custom migration command was created. Quoting django_linear_migrations:

The app relies on overriding the built-in makemigrations command. If your project has a custom makemigrations command, ensure the app containing your custom command is above django_linear_migrations, and that your command subclasses its Command class:

Thus, I've updated the custom migration command.

codecov[bot] commented 1 year ago

Codecov Report

Base: 75.71% // Head: 75.71% // No change to project coverage :thumbsup:

Coverage data is based on head (ef1d555) compared to base (298ee42). Patch has no changes to coverable lines.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #113 +/- ## ======================================= Coverage 75.71% 75.71% ======================================= Files 22 22 Lines 420 420 ======================================= Hits 318 318 Misses 102 102 ``` Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CompanionshipCare). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=CompanionshipCare)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

brylie commented 1 year ago

@all-contributors please add @earthcomfy for code

allcontributors[bot] commented 1 year ago

@brylie

I've put up a pull request to add @earthcomfy! :tada: