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.

44 lines
1.4 KiB

9 years ago
  1. # -*- coding: utf-8 -*-
  2. # Generated by Django 1.9 on 2016-05-09 08:01
  3. from __future__ import unicode_literals
  4. from django.conf import settings
  5. from django.db import migrations, models
  6. import django.db.models.deletion
  7. class Migration(migrations.Migration):
  8. dependencies = [
  9. migrations.swappable_dependency(settings.AUTH_USER_MODEL),
  10. ('accounts', '0004_profile_api_key'),
  11. ]
  12. operations = [
  13. migrations.CreateModel(
  14. name='Member',
  15. fields=[
  16. ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
  17. ],
  18. ),
  19. migrations.AddField(
  20. model_name='profile',
  21. name='team_access_allowed',
  22. field=models.BooleanField(default=False),
  23. ),
  24. migrations.AddField(
  25. model_name='profile',
  26. name='team_name',
  27. field=models.CharField(blank=True, max_length=200),
  28. ),
  29. migrations.AddField(
  30. model_name='member',
  31. name='team',
  32. field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='accounts.Profile'),
  33. ),
  34. migrations.AddField(
  35. model_name='member',
  36. name='user',
  37. field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
  38. ),
  39. ]