mirror of
https://github.com/daniviga/django-ram.git
synced 2025-08-04 21:27:49 +02:00
Fix the API
This commit is contained in:
18
dcc/roster/migrations/0003_rollingstockimage_description.py
Normal file
18
dcc/roster/migrations/0003_rollingstockimage_description.py
Normal file
@@ -0,0 +1,18 @@
|
||||
# Generated by Django 4.0.2 on 2022-04-02 17:16
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('roster', '0002_rename_class_rollingclass_alter_rollingclass_options_and_more'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='rollingstockimage',
|
||||
name='description',
|
||||
field=models.CharField(blank=True, max_length=256),
|
||||
),
|
||||
]
|
@@ -0,0 +1,22 @@
|
||||
# Generated by Django 4.0.2 on 2022-04-02 17:17
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('roster', '0003_rollingstockimage_description'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.RemoveField(
|
||||
model_name='rollingstockimage',
|
||||
name='description',
|
||||
),
|
||||
migrations.AddField(
|
||||
model_name='rollingclass',
|
||||
name='description',
|
||||
field=models.CharField(blank=True, max_length=256),
|
||||
),
|
||||
]
|
Reference in New Issue
Block a user