# Generated by Django 2.0.5 on 2018-06-12 14:48

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0014_auto_20180527_0848'),
    ]

    operations = [
        migrations.CreateModel(
            name='Brand',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('name', models.CharField(blank=True, db_index=True, max_length=128, null=True, verbose_name='Nazwa marki (na podstawie ILiM)')),
                ('common_name', models.CharField(blank=True, max_length=128, null=True, verbose_name='Nazwa dla użytkownika')),
                ('company', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='company.Company')),
            ],
            options={
                'verbose_name': 'Marka',
                'verbose_name_plural': 'Marki',
                'ordering': ['-created_at'],
                'permissions': (('view_brand', 'Can see all brands'),),
            },
        ),
    ]

# -*- coding: utf-8 -*-
from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('company', '0014_auto_20180527_0848'),
    ]

    operations = [
        migrations.CreateModel(
            name='Brand',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('created_at', models.DateTimeField(auto_now_add=True)),
                ('name', models.CharField(blank=True, db_index=True, max_length=128, null=True, verbose_name='Nazwa marki (na podstawie ILiM)')),
                ('common_name', models.CharField(blank=True, max_length=128, null=True, verbose_name='Nazwa dla użytkownika')),
                ('company', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='company.Company')),
            ],
            options={
                'verbose_name': 'Marka',
                'verbose_name_plural': 'Marki',
                'ordering': ['-created_at'],
                'permissions': (('view_brand', 'Can see all brands'),),
            },
        ),
    ]

Add coding note