text: # Generated by Django 2.2.6 on 2020-04-20 11:17
  
  from django.conf import settings
  import django.contrib.auth.models
  from django.db import migrations, models
  import django.db.models.deletion
  import django_mysql.models
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          ('auth', '0011_update_proxy_permissions'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Gp',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('name', models.CharField(max_length=30)),
                  ('members', django_mysql.models.ListTextField(models.IntegerField(), size=1000)),
              ],
          ),
          migrations.CreateModel(
              name='Users',
              fields=[
                  ('user_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL)),
                  ('avatar', models.CharField(max_length=30)),
                  ('token', models.UUIDField(null=True)),
                  ('contacts_id', django_mysql.models.ListTextField(models.IntegerField(), size=1000)),
                  ('gps_id', django_mysql.models.ListTextField(models.IntegerField(), size=1000)),
              ],
              options={
                  'verbose_name': 'user',
                  'verbose_name_plural': 'users',
                  'abstract': False,
              },
              bases=('auth.user',),
              managers=[
                  ('objects', django.contrib.auth.models.UserManager()),
              ],
          ),
          migrations.CreateModel(
              name='Messages',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('text', models.TextField()),
                  ('date', models.DateTimeField(auto_now_add=True)),
                  ('status', models.IntegerField(default=0)),
                  ('receiver', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='receiver', to='users.Users')),
                  ('sender', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='sender', to='users.Users')),
              ],
          ),
          migrations.CreateModel(
              name='Gp_messages',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('text', models.TextField()),
                  ('date', models.DateTimeField(auto_now_add=True)),
                  ('status', models.IntegerField(default=0)),
                  ('gp', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='gp', to='users.Gp')),
                  ('sender', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='sendergp', to='users.Users')),
              ],
          ),
          migrations.AddField(
              model_name='gp',
              name='admin',
              field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='admin', to='users.Users'),
          ),
      ]
  