class Migration(migrations.Migration): initial = True dependencies = [ ('user', '0001_initial'), ] operations = [ migrations.CreateModel( name='RegistrationProfile', fields=[ ('code', models.CharField( default=apps.registration_profile.models.code_generator, max_length=5)), ('user', models.OneToOneField( on_delete=django.db.models.deletion.CASCADE, primary_key=True, related_name='reg_profile', serialize=False, to='user.user')), ('code_used', models.BooleanField(default=False)), ], ), ]
class Migration(migrations.Migration): initial = True dependencies = [ ] operations = [ migrations.CreateModel( name='RegistrationProfile', fields=[ ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), ('code', models.CharField(default=apps.registration_profile.models.code_generator, max_length=5)), ], ), ]