Skip to content
Snippets Groups Projects
Commit 78bad7cb authored by Nico Vermaas's avatar Nico Vermaas
Browse files

add metadata as jsonfield

parent 0d5e74b0
Branches
No related tags found
No related merge requests found
Pipeline #7272 passed
# Generated by Django 3.1.4 on 2020-12-22 13:45
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('taskdatabase', '0001_initial'),
]
operations = [
migrations.AddField(
model_name='taskobject',
name='metadata',
field=models.JSONField(blank=True, null=True),
),
]
......@@ -43,7 +43,7 @@ class TaskObject(models.Model):
my_status = models.CharField(db_index=True, max_length=50,default="defined")
node = models.CharField(max_length=10, null=True, blank=True)
quality = models.CharField(max_length=30, default="unknown")
# metadata = models.JSONField()
metadata = models.JSONField(null=True,blank=True)
def __str__(self):
return str(self.id)
......
......@@ -46,7 +46,7 @@
</div>
{% include 'taskdatabase/pagination.html' %}
</div>
<p class="footer"> Version 1.0.0 (22 dec 2020 - 14:00)
<p class="footer"> Version 1.0.0 (22 dec 2020 - 14:30)
<script type="text/javascript">
(function(seconds) {
var refresh,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment