Can now fetch domain nodeinfo

This commit is contained in:
Eliot Berriot 2018-12-27 17:42:43 +01:00
parent e4117043cb
commit be388870a3
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
9 changed files with 171 additions and 1 deletions

View file

@ -0,0 +1,25 @@
# Generated by Django 2.0.9 on 2018-12-27 16:05
import django.contrib.postgres.fields.jsonb
from django.db import migrations, models
import funkwhale_api.federation.models
class Migration(migrations.Migration):
dependencies = [("federation", "0015_populate_domains")]
operations = [
migrations.AddField(
model_name="domain",
name="nodeinfo",
field=django.contrib.postgres.fields.jsonb.JSONField(
default=funkwhale_api.federation.models.empty_dict, max_length=50000
),
),
migrations.AddField(
model_name="domain",
name="nodeinfo_fetch_date",
field=models.DateTimeField(blank=True, default=None, null=True),
),
]