Adds site invite created date
This commit is contained in:
parent
b861a3025b
commit
c8d53ee0df
3 changed files with 23 additions and 1 deletions
20
bookwyrm/migrations/0033_siteinvite_created_date.py
Normal file
20
bookwyrm/migrations/0033_siteinvite_created_date.py
Normal file
|
@ -0,0 +1,20 @@
|
|||
# Generated by Django 3.0.7 on 2021-01-05 19:08
|
||||
|
||||
from django.db import migrations, models
|
||||
import django.utils.timezone
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('bookwyrm', '0032_auto_20210104_2055'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='siteinvite',
|
||||
name='created_date',
|
||||
field=models.DateTimeField(auto_now_add=True, default=django.utils.timezone.now),
|
||||
preserve_default=False,
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue