You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
804 B

  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from django.db import migrations, models
  4. from django.conf import settings
  5. class Migration(migrations.Migration):
  6. dependencies = [
  7. migrations.swappable_dependency(settings.AUTH_USER_MODEL),
  8. ]
  9. operations = [
  10. migrations.CreateModel(
  11. name='Profile',
  12. fields=[
  13. ('id', models.AutoField(auto_created=True, serialize=False, verbose_name='ID', primary_key=True)),
  14. ('next_report_date', models.DateTimeField(null=True, blank=True)),
  15. ('reports_allowed', models.BooleanField(default=True)),
  16. ('user', models.OneToOneField(blank=True, to=settings.AUTH_USER_MODEL, null=True, on_delete=models.CASCADE)),
  17. ],
  18. ),
  19. ]