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
763 B

10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
10 years ago
  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from django.db import models, migrations
  4. import uuid
  5. from django.conf import settings
  6. class Migration(migrations.Migration):
  7. dependencies = [
  8. migrations.swappable_dependency(settings.AUTH_USER_MODEL),
  9. ]
  10. operations = [
  11. migrations.CreateModel(
  12. name='Check',
  13. fields=[
  14. ('id', models.AutoField(auto_created=True, primary_key=True, verbose_name='ID', serialize=False)),
  15. ('code', models.UUIDField(default=uuid.uuid4, editable=False)),
  16. ('last_ping', models.DateTimeField(null=True, blank=True)),
  17. ('user', models.ForeignKey(to=settings.AUTH_USER_MODEL)),
  18. ],
  19. ),
  20. ]