<reponame>BeardedPlatypus/capita-selecta-ctf
# -*- coding: utf-8 -*-
# Generated by Django 1.9.5 on 2016-04-21 07:52
from __future__ import unicode_literals

from django.db import migrations, models
import django.db.models.deletion


class Migration(migrations.Migration):

    dependencies = [
        ('players', '0001_initial'),
    ]

    operations = [
        migrations.CreateModel(
            name='Player',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('player_name', models.CharField(max_length=20)),
                ('kills', models.IntegerField(default=0)),
                ('deaths', models.IntegerField(default=0)),
                ('player_class', models.CharField(choices=[('li', 'Light Class'), ('me', 'Medium Class'), ('he', 'Heavy CLass')], default='me', max_length=2)),
            ],
        ),
        migrations.CreateModel(
            name='Team',
            fields=[
                ('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
                ('team_name', models.CharField(choices=[('r', 'Red'), ('b', 'Blue')], default='r', max_length=1)),
                ('Hexcode team colour', models.CharField(max_length=6)),
                ('score', models.IntegerField(default=0)),
            ],
        ),
        migrations.AddField(
            model_name='player',
            name='team',
            field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='players.Team'),
        ),
    ]
