mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 13:32:15 +00:00
Currently performs two functions: 1. Inactivates users that have not logged in for at least one year. Closes #478 (Need to circle back round to full deletion SoonTM) 2. Ensures the supervisor database flag is set correctly for each user This is run automatically by the Heroku Scheduler addon at midnight daily.
19 lines
499 B
Python
19 lines
499 B
Python
# Generated by Django 3.2.12 on 2022-10-20 23:02
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('RIGS', '0044_profile_is_supervisor'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterField(
|
|
model_name='profile',
|
|
name='is_approved',
|
|
field=models.BooleanField(default=False, help_text='Designates whether a staff member has approved this user.', verbose_name='Approval Status'),
|
|
),
|
|
]
|