Track when user was last active

fixes #10
This commit is contained in:
Mouse Reeve
2020-11-01 09:16:49 -08:00
parent c334451216
commit 4e02a8df99
5 changed files with 55 additions and 3 deletions

View File

@ -0,0 +1,18 @@
# Generated by Django 3.0.7 on 2020-11-01 17:05
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('bookwyrm', '0062_auto_20201031_1936'),
]
operations = [
migrations.AddField(
model_name='user',
name='last_active_date',
field=models.DateTimeField(auto_now=True),
),
]