text: # Generated by Django 3.0.8 on 2020-07-09 23:43
  
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
      ]
  
      operations = [
          migrations.CreateModel(
              name='Client',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=50, unique=True)),
                  ('type', models.CharField(choices=[('company', 'Company'), ('individual', 'Individual')], max_length=20)),
              ],
          ),
          migrations.CreateModel(
              name='Contact',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=50)),
                  ('email', models.EmailField(blank=True, max_length=254, unique=True)),
                  ('phone', models.CharField(blank=True, max_length=20)),
                  ('mobile', models.CharField(blank=True, max_length=20)),
                  ('client', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='clients.Client')),
              ],
          ),
      ]
  