text: # -*- coding: utf-8 -*-
  # Generated by Django 1.9.6 on 2016-06-05 18:28
  from __future__ import unicode_literals
  
  from django.conf import settings
  from django.db import migrations, models
  import django.db.models.deletion
  
  
  class Migration(migrations.Migration):
  
      initial = True
  
      dependencies = [
          migrations.swappable_dependency(settings.AUTH_USER_MODEL),
      ]
  
      operations = [
          migrations.CreateModel(
              name='Team',
              fields=[
                  ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                  ('created_at', models.DateTimeField(auto_now_add=True)),
                  ('updated_at', models.DateTimeField(auto_now=True)),
                  ('name', models.TextField(help_text='Team name', max_length=100)),
                  ('is_visible_in_list', models.BooleanField(default=False)),
                  ('captain', models.ForeignKey(help_text='Team captain', on_delete=django.db.models.deletion.CASCADE, related_name='captain_in', to=settings.AUTH_USER_MODEL)),
                  ('members', models.ManyToManyField(blank=True, help_text='Participants (may not contain captain)', related_name='teams', to=settings.AUTH_USER_MODEL)),
              ],
              options={
                  'abstract': False,
              },
          ),
      ]
  