diff --git a/ldvspec/lofardata/migrations/0008_atdbprocessingsite_access_token.py b/ldvspec/lofardata/migrations/0008_atdbprocessingsite_access_token.py new file mode 100644 index 0000000000000000000000000000000000000000..4da68f96f8b6fdc4b7a1a7fc30c8c496a89b3b27 --- /dev/null +++ b/ldvspec/lofardata/migrations/0008_atdbprocessingsite_access_token.py @@ -0,0 +1,18 @@ +# Generated by Django 4.1 on 2022-08-11 11:56 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('lofardata', '0007_workspecification_selected_workflow'), + ] + + operations = [ + migrations.AddField( + model_name='atdbprocessingsite', + name='access_token', + field=models.CharField(max_length=1000, null=True), + ), + ] diff --git a/ldvspec/lofardata/models.py b/ldvspec/lofardata/models.py index ca97751bd6c5e069c02a67b6ee63cc5883b84faa..224579eabf72845362ccf9f87101de2576b8e283 100644 --- a/ldvspec/lofardata/models.py +++ b/ldvspec/lofardata/models.py @@ -83,6 +83,7 @@ class DataProductFilter(models.Model): class ATDBProcessingSite(models.Model): name = models.CharField(primary_key=True, max_length=100) url = models.URLField() + access_token = models.CharField(max_length=1000, null=True) class WorkSpecification(models.Model):