text: # Generated by Django 3.2.5 on 2021-08-13 19:00
  
  from django.conf import settings
  import django.contrib.auth.models
  from django.db import migrations, models
  import django.db.models.deletion
  import django.utils.timezone
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          ('auth', '0012_alter_user_first_name_max_length'),
      ]
  
      operations = [
          migrations.CreateModel(
              name='User',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('password', models.CharField(max_length=128, verbose_name='password')),
                  ('last_login', models.DateTimeField(blank=True, null=True, verbose_name='last login')),
                  ('is_superuser', models.BooleanField(default=False, help_text='Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status')),
                  ('first_name', models.CharField(blank=True, max_length=150, verbose_name='first name')),
                  ('last_name', models.CharField(blank=True, max_length=150, verbose_name='last name')),
                  ('is_staff', models.BooleanField(default=False, help_text='Designates whether the user can log into this admin site.', verbose_name='staff status')),
                  ('is_active', models.BooleanField(default=True, help_text='Designates whether this user should be treated as active. Unselect this instead of deleting accounts.', verbose_name='active')),
                  ('date_joined', models.DateTimeField(default=django.utils.timezone.now, verbose_name='date joined')),
                  ('email', models.EmailField(max_length=254, unique=True)),
                  ('username', models.CharField(blank=True, max_length=32, null=True, unique=True)),
                  ('dob', models.DateField(blank=True, null=True)),
                  ('gender', models.CharField(choices=[('female', 'female'), ('male', 'male'), ('others', 'others')], default='others', max_length=8)),
                  ('followers', models.ManyToManyField(blank=True, related_name='_authentication_user_followers_+', to=settings.AUTH_USER_MODEL)),
                  ('following', models.ManyToManyField(blank=True, related_name='_authentication_user_following_+', to=settings.AUTH_USER_MODEL)),
                  ('groups', models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups')),
                  ('user_permissions', models.ManyToManyField(blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions')),
              ],
              options={
                  'verbose_name': 'user',
                  'verbose_name_plural': 'users',
                  'abstract': False,
              },
              managers=[
                  ('objects', django.contrib.auth.models.UserManager()),
              ],
          ),
          migrations.CreateModel(
              name='ArtistData',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('artist_name', models.CharField(max_length=32)),
                  ('artist_art', models.ImageField(upload_to='uploads/files/.artist/.avatar')),
                  ('is_verify', models.BooleanField(default=False)),
                  ('date_add', models.DateTimeField(default=django.utils.timezone.now)),
              ],
              options={
                  'ordering': ['-date_add'],
              },
          ),
          migrations.CreateModel(
              name='AudioPreference',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('loop', models.BooleanField(blank=True, default=False, null=True)),
                  ('shuffle', models.BooleanField(blank=True, null=True)),
                  ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
              options={
                  'verbose_name_plural': 'Audio preference',
              },
          ),
          migrations.CreateModel(
              name='Display',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('dark_mode', models.BooleanField(default=True)),
                  ('playlist_grid', models.BooleanField(default=False)),
                  ('color', models.TextField(default='#0dcaf0')),
                  ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
              options={
                  'verbose_name_plural': 'Display',
              },
          ),
          migrations.CreateModel(
              name='KYC',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('plans', models.CharField(choices=[('free', 'free'), ('premium', 'premium'), ('family', 'family'), ('artist', 'artist')], max_length=16)),
                  ('avatar', models.ImageField(blank=True, default='#', null=True, upload_to='uploads/files/.profile/.avatar/')),
                  ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
              options={
                  'verbose_name_plural': 'Kyc',
              },
          ),
          migrations.CreateModel(
              name='Settings',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('data_saver', models.BooleanField(default=True)),
                  ('auto_mix', models.BooleanField(default=True)),
                  ('explicit_contents', models.BooleanField(default=False)),
                  ('unplayable_songs', models.BooleanField(default=False)),
                  ('normal_volume', models.BooleanField(default=True)),
                  ('auto_play', models.BooleanField(default=True)),
                  ('auto_download', models.BooleanField(default=False)),
                  ('connect_devices', models.BooleanField(default=False)),
                  ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
              options={
                  'verbose_name_plural': 'Settings',
              },
          ),
          migrations.CreateModel(
              name='Profile',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('artist', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='authentication.artistdata')),
                  ('audio_preference', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='authentication.audiopreference')),
                  ('display', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='authentication.display')),
                  ('kyc', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='authentication.kyc')),
                  ('settings', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to='authentication.settings')),
                  ('user', models.OneToOneField(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
          ),
          migrations.CreateModel(
              name='JSON',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('reference', models.CharField(max_length=32)),
                  ('is_verify', models.BooleanField(default=False)),
                  ('type', models.CharField(choices=[('transaction', 'transactions'), ('subscription', 'subscription')], default='transaction', max_length=32)),
                  ('json', models.JSONField(blank=True, null=True)),
                  ('date_add', models.DateField(default=django.utils.timezone.now)),
                  ('user', models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
              options={
                  'verbose_name_plural': 'JSON',
                  'ordering': ['-date_add'],
              },
          ),
          migrations.CreateModel(
              name='Audipay',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('customer', models.JSONField(blank=True, null=True)),
                  ('subscriptions', models.ManyToManyField(blank=True, related_name='subscriptions', to='authentication.JSON')),
                  ('transactions', models.ManyToManyField(blank=True, related_name='transactions', to='authentication.JSON')),
                  ('user', models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL)),
              ],
              options={
                  'verbose_name_plural': 'Audipay',
              },
          ),
      ]
  