Commit cc8ac8a4 authored by Giannis Tsapelas's avatar Giannis Tsapelas
Browse files

removed some warnings

parent 8028cc82
# Generated by Django 3.1 on 2020-09-03 09:36
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('aggregator', '0046_auto_20200812_1635'),
]
operations = [
migrations.AlterField(
model_name='dataset',
name='arguments',
field=models.JSONField(default={}),
),
migrations.AlterField(
model_name='dataset',
name='metadata',
field=models.JSONField(default={}),
),
migrations.AlterField(
model_name='dataset',
name='sample_rows',
field=models.JSONField(null=True),
),
migrations.AlterField(
model_name='datasetaccessrequest',
name='creation_date',
field=models.DateTimeField(default=datetime.datetime(2020, 9, 3, 9, 36, 27, 188649)),
),
migrations.AlterField(
model_name='vessel_identifier',
name='values_list',
field=models.JSONField(),
),
]
# Generated by Django 3.1 on 2020-09-03 09:40
import datetime
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('aggregator', '0047_auto_20200903_0936'),
]
operations = [
migrations.AlterField(
model_name='dataset',
name='arguments',
field=models.JSONField(default=dict),
),
migrations.AlterField(
model_name='dataset',
name='metadata',
field=models.JSONField(default=dict),
),
migrations.AlterField(
model_name='datasetaccessrequest',
name='creation_date',
field=models.DateTimeField(default=datetime.datetime(2020, 9, 3, 9, 40, 42, 455682)),
),
]
......@@ -9,7 +9,7 @@ from django.db import models
import traceback
import math
from django.contrib.postgres.fields import JSONField
# from django.contrib.postgres.fields import JSONField
from datetime import datetime, timedelta
import time
......@@ -64,9 +64,9 @@ class Dataset(Model):
update_frequency = CharField(max_length=200, default='-')
last_updated = DateTimeField(null=True)
owner = ForeignKey(User, related_name='dataset_owner', null=True, on_delete=CASCADE, default=None)
metadata = JSONField(default={})
metadata = JSONField(default=dict)
hascoverage_img = BooleanField(default=False)
arguments = JSONField(default={})
arguments = JSONField(default=dict)
joined_with_dataset = models.ManyToManyField("self",through = 'JoinOfDatasets',
symmetrical=False,
related_name='joined_to')
......
# Generated by Django 3.1 on 2020-09-03 09:36
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('query_designer', '0002_auto_20200318_1955'),
]
operations = [
migrations.AlterField(
model_name='abstractquery',
name='design',
field=models.JSONField(blank=True, default=None, null=True),
),
migrations.AlterField(
model_name='abstractquery',
name='document',
field=models.JSONField(),
),
migrations.AlterField(
model_name='abstractquery',
name='headers',
field=models.JSONField(blank=True, default=None, null=True),
),
]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment