Skip to content
Snippets Groups Projects
Commit e8b208db authored by Fanna Lautenbach's avatar Fanna Lautenbach
Browse files

oepsie

parent a15a9cd6
No related branches found
No related tags found
1 merge request!44change JSONField to postgres JSONField to work with json blobs
Pipeline #41420 passed
...@@ -17,7 +17,7 @@ class DataProduct(models.Model): ...@@ -17,7 +17,7 @@ class DataProduct(models.Model):
activity = models.CharField(max_length=50) activity = models.CharField(max_length=50)
surl = models.CharField(max_length=200, unique=True) surl = models.CharField(max_length=200, unique=True)
filesize = models.PositiveBigIntegerField() filesize = models.PositiveBigIntegerField()
additional_meta = models.JSONField additional_meta = JSONField()
@staticmethod @staticmethod
def insert_dataproduct( def insert_dataproduct(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment