blob: 8649828c28423ba97c3da621df3f2186e0985682 [file] [log] [blame]
Borjan Tchakaloff01e102c2018-02-19 17:47:45 +01001# -*- coding: utf-8 -*-
Mitja Nikolaus6a679132018-08-30 14:35:29 +02002
3"""Migrations to set default values for the Version and VersionDaily models."""
4
Borjan Tchakaloff01e102c2018-02-19 17:47:45 +01005from __future__ import unicode_literals
6
7from django.db import migrations, models
Borjan Tchakaloff01e102c2018-02-19 17:47:45 +01008
9
10class Migration(migrations.Migration):
Mitja Nikolaus6a679132018-08-30 14:35:29 +020011 """Set the default values for the Version and VersionDaily models."""
Borjan Tchakaloff01e102c2018-02-19 17:47:45 +010012
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020013 dependencies = [("crashreport_stats", "0001_initial")]
Borjan Tchakaloff01e102c2018-02-19 17:47:45 +010014
15 operations = [
16 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020017 model_name="version",
18 name="first_seen_on",
Borjan Tchakaloff01e102c2018-02-19 17:47:45 +010019 field=models.DateField(auto_now_add=True),
20 ),
21 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020022 model_name="version",
23 name="heartbeats",
Borjan Tchakaloff01e102c2018-02-19 17:47:45 +010024 field=models.IntegerField(default=0),
25 ),
26 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020027 model_name="version",
28 name="other",
Borjan Tchakaloff01e102c2018-02-19 17:47:45 +010029 field=models.IntegerField(default=0),
30 ),
31 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020032 model_name="version",
33 name="prob_crashes",
Borjan Tchakaloff01e102c2018-02-19 17:47:45 +010034 field=models.IntegerField(default=0),
35 ),
36 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020037 model_name="version",
38 name="released_on",
Borjan Tchakaloff01e102c2018-02-19 17:47:45 +010039 field=models.DateField(auto_now_add=True),
40 ),
41 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020042 model_name="version",
43 name="smpl",
Borjan Tchakaloff01e102c2018-02-19 17:47:45 +010044 field=models.IntegerField(default=0),
45 ),
46 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020047 model_name="versiondaily",
48 name="date",
Borjan Tchakaloff01e102c2018-02-19 17:47:45 +010049 field=models.DateField(auto_now_add=True),
50 ),
51 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020052 model_name="versiondaily",
53 name="heartbeats",
Borjan Tchakaloff01e102c2018-02-19 17:47:45 +010054 field=models.IntegerField(default=0),
55 ),
56 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020057 model_name="versiondaily",
58 name="other",
Borjan Tchakaloff01e102c2018-02-19 17:47:45 +010059 field=models.IntegerField(default=0),
60 ),
61 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020062 model_name="versiondaily",
63 name="prob_crashes",
Borjan Tchakaloff01e102c2018-02-19 17:47:45 +010064 field=models.IntegerField(default=0),
65 ),
66 migrations.AlterField(
Mitja Nikolauscb50f2c2018-08-24 13:54:48 +020067 model_name="versiondaily",
68 name="smpl",
Borjan Tchakaloff01e102c2018-02-19 17:47:45 +010069 field=models.IntegerField(default=0),
70 ),
71 ]