apps/web/migrations/0002_added_team_model.py
# -*- coding: utf-8 -*-
# Generated by Django 1.10.2 on 2017-02-06 09:14
from __future__ import unicode_literals
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [("web", "0001_initial")]
operations = [
migrations.CreateModel(
name="Team",
fields=[
(
"id",
models.AutoField(
auto_created=True,
primary_key=True,
serialize=False,
verbose_name="ID",
),
),
("name", models.CharField(max_length=100)),
("email", models.EmailField(max_length=70)),
(
"headshot",
models.ImageField(
blank=True, null=True, upload_to="headshots"
),
),
("visible", models.BooleanField(default=True)),
("github_url", models.URLField()),
("linkedin_url", models.URLField()),
("personal_website", models.URLField()),
(
"team_type",
models.CharField(
choices=[
("Core Team", "Core Team"),
("Contributor", "Contributor"),
],
max_length=50,
),
),
],
options={"db_table": "teams"},
)
]