Repository URL to install this package:
|
Version:
0.3.6.2 ▾
|
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
class Migration(migrations.Migration):
dependencies = [
]
operations = [
migrations.CreateModel(
name='CronJobLog',
fields=[
('id', models.AutoField(serialize=False, auto_created=True, primary_key=True, verbose_name='ID')),
('code', models.CharField(db_index=True, max_length=64)),
('start_time', models.DateTimeField(db_index=True)),
('end_time', models.DateTimeField(db_index=True)),
('is_success', models.BooleanField(default=False)),
('message', models.TextField(max_length=1000, blank=True)),
('ran_at_time', models.TimeField(db_index=True, editable=False, null=True, blank=True)),
],
options={
},
bases=(models.Model,),
),
migrations.AlterIndexTogether(
name='cronjoblog',
index_together=set([('code', 'is_success', 'ran_at_time'), ('code', 'start_time', 'ran_at_time'), ('code', 'start_time')]),
),
]