1 | # -*- coding: utf-8 -*-
|
---|
2 | from __future__ import unicode_literals
|
---|
3 |
|
---|
4 | from django.db import models, migrations
|
---|
5 | from django.conf import settings
|
---|
6 |
|
---|
7 |
|
---|
8 | class Migration(migrations.Migration):
|
---|
9 |
|
---|
10 | dependencies = [
|
---|
11 | migrations.swappable_dependency(settings.AUTH_USER_MODEL),
|
---|
12 | ('team', '0001_initial'),
|
---|
13 | ]
|
---|
14 |
|
---|
15 | operations = [
|
---|
16 | migrations.CreateModel(
|
---|
17 | name='TeamCaptain',
|
---|
18 | fields=[
|
---|
19 | ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
|
---|
20 | ('rider', models.ForeignKey(to=settings.AUTH_USER_MODEL)),
|
---|
21 | ('team', models.ForeignKey(to='team.Team')),
|
---|
22 | ],
|
---|
23 | options={
|
---|
24 | },
|
---|
25 | bases=(models.Model,),
|
---|
26 | ),
|
---|
27 | ]
|
---|