Ticket #22932: team.0001_initial.py.diff

File team.0001_initial.py.diff, 969 bytes (added by Manuel Kaufmann, 10 years ago)

Migration edited by hand

  • myapp/team/migrations/0001_initial.py

    old new  
    22from __future__ import unicode_literals
    33
    44from django.db import models, migrations
    5 from django.conf import settings
    65
    76
    87class Migration(migrations.Migration):
    98
    109    dependencies = [
    11         migrations.swappable_dependency(settings.AUTH_USER_MODEL),
    1210    ]
    1311
    1412    operations = [
     
    2220            },
    2321            bases=(models.Model,),
    2422        ),
    25         migrations.CreateModel(
    26             name='TeamCaptain',
    27             fields=[
    28                 ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
    29                 ('rider', models.ForeignKey(to=settings.AUTH_USER_MODEL)),
    30                 ('team', models.ForeignKey(to='team.Team')),
    31             ],
    32             options={
    33             },
    34             bases=(models.Model,),
    35         ),
    3623    ]
Back to Top