blob: e6e520ca0a19287c38e3c81fafce0933015aebe7 [file] [log] [blame]
Dirk Vogt83107df2017-05-02 12:04:19 +02001# -*- coding: utf-8 -*-
2# Generated by Django 1.10.2 on 2017-05-02 09:55
3from __future__ import unicode_literals
4
5from django.db import migrations, models
6import django.db.models.deletion
7import uuid
8
9
10class Migration(migrations.Migration):
11
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020012 dependencies = [("crashreports", "0001_initial")]
Dirk Vogt83107df2017-05-02 12:04:19 +020013
14 operations = [
15 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020016 model_name="crashreport",
17 name="boot_reason",
Dirk Vogt83107df2017-05-02 12:04:19 +020018 field=models.CharField(db_index=True, max_length=200),
19 ),
20 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020021 model_name="crashreport",
22 name="build_fingerprint",
Dirk Vogt83107df2017-05-02 12:04:19 +020023 field=models.CharField(db_index=True, max_length=200),
24 ),
25 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020026 model_name="crashreport",
27 name="date",
Dirk Vogt83107df2017-05-02 12:04:19 +020028 field=models.DateTimeField(db_index=True),
29 ),
30 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020031 model_name="crashreport",
32 name="device",
33 field=models.ForeignKey(
34 on_delete=django.db.models.deletion.CASCADE,
35 related_name="crashreports",
36 to="crashreports.Device",
37 ),
Dirk Vogt83107df2017-05-02 12:04:19 +020038 ),
39 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020040 model_name="crashreport",
41 name="power_off_reason",
Dirk Vogt83107df2017-05-02 12:04:19 +020042 field=models.CharField(db_index=True, max_length=200),
43 ),
44 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020045 model_name="crashreport",
46 name="power_on_reason",
Dirk Vogt83107df2017-05-02 12:04:19 +020047 field=models.CharField(db_index=True, max_length=200),
48 ),
49 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020050 model_name="device",
51 name="uuid",
52 field=models.CharField(
53 db_index=True,
54 default=uuid.uuid4,
55 editable=False,
56 max_length=64,
57 unique=True,
58 ),
Dirk Vogt83107df2017-05-02 12:04:19 +020059 ),
60 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020061 model_name="heartbeat",
62 name="build_fingerprint",
Dirk Vogt83107df2017-05-02 12:04:19 +020063 field=models.CharField(db_index=True, max_length=200),
64 ),
65 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020066 model_name="heartbeat",
67 name="date",
Dirk Vogt83107df2017-05-02 12:04:19 +020068 field=models.DateTimeField(db_index=True),
69 ),
70 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020071 model_name="heartbeat",
72 name="device",
73 field=models.ForeignKey(
74 on_delete=django.db.models.deletion.CASCADE,
75 related_name="heartbeats",
76 to="crashreports.Device",
77 ),
Dirk Vogt83107df2017-05-02 12:04:19 +020078 ),
79 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020080 model_name="logfile",
81 name="crashreport",
82 field=models.ForeignKey(
83 on_delete=django.db.models.deletion.CASCADE,
84 related_name="logfiles",
85 to="crashreports.Crashreport",
86 ),
Dirk Vogt83107df2017-05-02 12:04:19 +020087 ),
88 ]