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.

56 lines
1.6 KiB

9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
9 years ago
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. (
  17. "id",
  18. models.AutoField(
  19. auto_created=True,
  20. primary_key=True,
  21. serialize=False,
  22. verbose_name="ID",
  23. ),
  24. )
  25. ],
  26. ),
  27. migrations.AddField(
  28. model_name="profile",
  29. name="team_access_allowed",
  30. field=models.BooleanField(default=False),
  31. ),
  32. migrations.AddField(
  33. model_name="profile",
  34. name="team_name",
  35. field=models.CharField(blank=True, max_length=200),
  36. ),
  37. migrations.AddField(
  38. model_name="member",
  39. name="team",
  40. field=models.ForeignKey(
  41. on_delete=django.db.models.deletion.CASCADE, to="accounts.Profile"
  42. ),
  43. ),
  44. migrations.AddField(
  45. model_name="member",
  46. name="user",
  47. field=models.ForeignKey(
  48. on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL
  49. ),
  50. ),
  51. ]