Skip to content
Snippets Groups Projects
Commit 19b8351e authored by Mark Skipper's avatar Mark Skipper
Browse files

Make timestamp optional

Because not all sources might offer one
parent 52c39ce5
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
('data_layer', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='message',
name='timestamp',
field=models.DateTimeField(null=True),
),
]
......@@ -9,4 +9,4 @@ class DataLayerModel(models.Model):
class Message(DataLayerModel):
body = models.TextField()
timestamp = models.DateTimeField()
timestamp = models.DateTimeField(null=True)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment