-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#330 backend: add moved_from field to assignable mixin
- Loading branch information
1 parent
860bebf
commit 66dbdf5
Showing
2 changed files
with
71 additions
and
14 deletions.
There are no files selected for viewing
45 changes: 45 additions & 0 deletions
45
.../dps_training_k/game/migrations/0007_materialinstance_moved_from_content_type_and_more.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# Generated by Django 5.0.1 on 2024-09-12 12:47 | ||
|
||
import django.db.models.deletion | ||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("contenttypes", "0002_remove_content_type_name"), | ||
("game", "0006_remove_area_unique_area_names_per_exercise"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="materialinstance", | ||
name="moved_from_content_type", | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
to="contenttypes.contenttype", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="materialinstance", | ||
name="moved_from_object_id", | ||
field=models.PositiveIntegerField(blank=True, null=True), | ||
), | ||
migrations.AddField( | ||
model_name="personnel", | ||
name="moved_from_content_type", | ||
field=models.ForeignKey( | ||
blank=True, | ||
null=True, | ||
on_delete=django.db.models.deletion.SET_NULL, | ||
to="contenttypes.contenttype", | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="personnel", | ||
name="moved_from_object_id", | ||
field=models.PositiveIntegerField(blank=True, null=True), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters