split gamecard into its own app, add models to teamsnap for custom fields (images)
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Generated by Django 3.2.13 on 2022-06-02 13:20
|
||||
# Generated by Django 3.2.13 on 2022-06-09 12:09
|
||||
|
||||
from django.conf import settings
|
||||
from django.db import migrations, models
|
||||
@@ -14,6 +14,14 @@ class Migration(migrations.Migration):
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.CreateModel(
|
||||
name='Team',
|
||||
fields=[
|
||||
('id', models.IntegerField(primary_key=True, serialize=False)),
|
||||
('logo', models.ImageField(upload_to='logos')),
|
||||
('logo_mono', models.ImageField(upload_to='logos_mono')),
|
||||
],
|
||||
),
|
||||
migrations.CreateModel(
|
||||
name="Preferences",
|
||||
fields=[
|
||||
|
||||
33
teamsnap/migrations/0004_auto_20220609_0722.py
Normal file
33
teamsnap/migrations/0004_auto_20220609_0722.py
Normal file
@@ -0,0 +1,33 @@
|
||||
# Generated by Django 3.2.13 on 2022-06-09 12:22
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('teamsnap', '0003_auto_20220609_0721'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AlterField(
|
||||
model_name='opponent',
|
||||
name='logo',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='logos'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='opponent',
|
||||
name='logo_mono',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='logos_mono'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='team',
|
||||
name='logo',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='logos'),
|
||||
),
|
||||
migrations.AlterField(
|
||||
model_name='team',
|
||||
name='logo_mono',
|
||||
field=models.ImageField(blank=True, null=True, upload_to='logos_mono'),
|
||||
),
|
||||
]
|
||||
0
teamsnap/migrations/__init__.py
Normal file
0
teamsnap/migrations/__init__.py
Normal file
Reference in New Issue
Block a user