# Generated by Django 2.1.2 on 2018-10-02 14:45 from django.db import migrations, models class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='Component', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(auto_now_add=True)), ('updated', models.DateTimeField(auto_now=True)), ('name', models.CharField(max_length=255)), ('sku', models.CharField(max_length=50)), ], options={ 'ordering': ('name',), }, ), migrations.CreateModel( name='Supplier', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('created', models.DateTimeField(auto_now_add=True)), ('updated', models.DateTimeField(auto_now=True)), ('name', models.CharField(max_length=255)), ('representative_name', models.CharField(blank=True, max_length=255, null=True)), ('representative_email', models.EmailField(blank=True, max_length=255, null=True)), ('is_authorized', models.BooleanField()), ], options={ 'abstract': False, }, ), migrations.AddField( model_name='component', name='suppliers', field=models.ManyToManyField(blank=True, related_name='components', to='procurement.Supplier'), ), ]