add BenchCoach user/profile
This commit is contained in:
37
teamsnap/migrations/0016_auto_20211212_2240.py
Normal file
37
teamsnap/migrations/0016_auto_20211212_2240.py
Normal file
@@ -0,0 +1,37 @@
|
||||
# Generated by Django 3.2.6 on 2021-12-12 22:40
|
||||
|
||||
from django.db import migrations
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('teamsnap', '0015_auto_20211210_1744'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RenameField(
|
||||
model_name='availability',
|
||||
old_name='benchcoach_availability',
|
||||
new_name='benchcoach_object',
|
||||
),
|
||||
migrations.RenameField(
|
||||
model_name='event',
|
||||
old_name='benchcoach_event',
|
||||
new_name='benchcoach_object',
|
||||
),
|
||||
migrations.RenameField(
|
||||
model_name='location',
|
||||
old_name='benchcoach_venue',
|
||||
new_name='benchcoach_object',
|
||||
),
|
||||
migrations.RenameField(
|
||||
model_name='member',
|
||||
old_name='benchcoach_player',
|
||||
new_name='benchcoach_object',
|
||||
),
|
||||
migrations.RemoveField(
|
||||
model_name='event',
|
||||
name='name',
|
||||
),
|
||||
]
|
||||
32
teamsnap/migrations/0017_auto_20211212_2356.py
Normal file
32
teamsnap/migrations/0017_auto_20211212_2356.py
Normal file
@@ -0,0 +1,32 @@
|
||||
# Generated by Django 3.2.6 on 2021-12-12 23:56
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('teamsnap', '0016_auto_20211212_2240'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='user',
|
||||
name='access_token',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='user',
|
||||
name='email',
|
||||
field=models.EmailField(max_length=254, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='user',
|
||||
name='first_name',
|
||||
field=models.CharField(max_length=50, null=True),
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='user',
|
||||
name='last_name',
|
||||
field=models.CharField(max_length=50, null=True),
|
||||
),
|
||||
]
|
||||
18
teamsnap/migrations/0018_user_managed_teams.py
Normal file
18
teamsnap/migrations/0018_user_managed_teams.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 3.2.6 on 2021-12-13 00:30
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('teamsnap', '0017_auto_20211212_2356'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='user',
|
||||
name='managed_teams',
|
||||
field=models.ManyToManyField(to='teamsnap.Team'),
|
||||
),
|
||||
]
|
||||
Reference in New Issue
Block a user