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.

26 lines
841 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', '0006_check_grace'),
  7. ]
  8. operations = [
  9. migrations.CreateModel(
  10. name='Ping',
  11. fields=[
  12. ('id', models.AutoField(primary_key=True, serialize=False, auto_created=True, verbose_name='ID')),
  13. ('created', models.DateTimeField(auto_now_add=True)),
  14. ('remote_addr', models.GenericIPAddressField()),
  15. ('method', models.CharField(max_length=10)),
  16. ('ua', models.CharField(max_length=100, blank=True)),
  17. ('body', models.TextField(blank=True)),
  18. ('owner', models.ForeignKey(to='api.Check')),
  19. ],
  20. ),
  21. ]