1# -*- coding: utf-8 -*- 

2# Generated by Django 1.11.14 on 2018-07-29 16:09 

3from __future__ import unicode_literals 

4 

5from django.db import migrations, models 

6import jsonfield.fields 

7 

8 

9class Migration(migrations.Migration): 

10 

11 dependencies = [ 

12 ('core', '0013_packagedata_to_package_related_name'), 

13 ] 

14 

15 operations = [ 

16 migrations.CreateModel( 

17 name='TaskData', 

18 fields=[ 

19 ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), 

20 ('task_name', models.CharField(max_length=250, unique=True)), 

21 ('task_is_pending', models.BooleanField(default=False)), 

22 ('run_lock', models.DateTimeField(default=None, null=True)), 

23 ('last_attempted_run', models.DateTimeField(default=None, null=True)), 

24 ('last_completed_run', models.DateTimeField(default=None, null=True)), 

25 ('data', jsonfield.fields.JSONField(default=dict)), 

26 ('data_checksum', models.CharField(default=None, max_length=40, null=True)), 

27 ('version', models.IntegerField(default=0)), 

28 ], 

29 ), 

30 ]