You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
837 B

  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from django.db import models, migrations
  4. class Migration(migrations.Migration):
  5. dependencies = [
  6. ('api', '0010_channel'),
  7. ]
  8. operations = [
  9. migrations.CreateModel(
  10. name='Notification',
  11. fields=[
  12. ('id', models.AutoField(serialize=False, auto_created=True, verbose_name='ID', primary_key=True)),
  13. ('check_status', models.CharField(max_length=6)),
  14. ('created', models.DateTimeField(auto_now_add=True)),
  15. ('status', models.IntegerField(default=0)),
  16. ('channel', models.ForeignKey(to='api.Channel', on_delete=models.CASCADE)),
  17. ('owner', models.ForeignKey(to='api.Check', on_delete=models.CASCADE)),
  18. ],
  19. ),
  20. ]