Borjan Tchakaloff | 6f239a6 | 2018-02-19 09:05:50 +0100 | [diff] [blame] | 1 | # -*- coding: utf-8 -*- |
| 2 | # |
| 3 | # Extend the Crashreport and Heartbeat models to support the radio version. |
| 4 | from __future__ import unicode_literals |
| 5 | |
| 6 | from django.db import migrations, models |
| 7 | |
| 8 | |
| 9 | class Migration(migrations.Migration): |
| 10 | |
Mitja Nikolaus | cb50f2c | 2018-08-24 13:54:48 +0200 | [diff] [blame^] | 11 | dependencies = [("crashreports", "0002_auto_20170502_1155")] |
Borjan Tchakaloff | 6f239a6 | 2018-02-19 09:05:50 +0100 | [diff] [blame] | 12 | |
| 13 | operations = [ |
| 14 | migrations.AddField( |
Mitja Nikolaus | cb50f2c | 2018-08-24 13:54:48 +0200 | [diff] [blame^] | 15 | model_name="crashreport", |
| 16 | name="radio_version", |
Borjan Tchakaloff | 6f239a6 | 2018-02-19 09:05:50 +0100 | [diff] [blame] | 17 | field=models.CharField(db_index=True, max_length=200, null=True), |
| 18 | ), |
| 19 | migrations.AddField( |
Mitja Nikolaus | cb50f2c | 2018-08-24 13:54:48 +0200 | [diff] [blame^] | 20 | model_name="heartbeat", |
| 21 | name="radio_version", |
Borjan Tchakaloff | 6f239a6 | 2018-02-19 09:05:50 +0100 | [diff] [blame] | 22 | field=models.CharField(db_index=True, max_length=200, null=True), |
| 23 | ), |
| 24 | ] |