new_contents: # -*- coding: utf-8 -*-
  # Generated by Django 1.10.7 on 2017-04-20 15:47
  from __future__ import unicode_literals
  
  from django.db import migrations, models
  import django.db.models.deletion
  import modelcluster.fields
  
  
  class Migration(migrations.Migration):
  
      dependencies = [
          ('personalisation', '0007_dayrule'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='DeviceRule',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('mobile', models.BooleanField(default=False, verbose_name='Mobile phone')),
                  ('tablet', models.BooleanField(default=False, verbose_name='Tablet')),
                  ('desktop', models.BooleanField(default=False, verbose_name='Desktop')),
                  ('segment', modelcluster.fields.ParentalKey(on_delete=django.db.models.deletion.CASCADE, related_name='personalisation_devicerule_related', related_query_name='personalisation_devicerules', to='personalisation.Segment')),
              ],
              options={
                  'abstract': False,
              },
          ),
      ]
  
subject: Add missing migration for DeviceRule