forked from jonas-eberle/geoportal
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
121 additions
and
21 deletions.
There are no files selected for viewing
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
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
28 changes: 28 additions & 0 deletions
28
framework/inspire/migrations/0004_inspirehdv_sourcelayer_inspire_hdv.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,28 @@ | ||
# Generated by Django 4.2.5 on 2024-08-25 14:53 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('inspire', '0003_alter_inspiretheme_topiccategory_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='InspireHDV', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('uri', models.CharField(max_length=400, verbose_name='URI')), | ||
('name_en', models.CharField(max_length=200, verbose_name='Name (en)')), | ||
('name_de', models.CharField(max_length=200, verbose_name='Name (de)')), | ||
], | ||
), | ||
migrations.AddField( | ||
model_name='sourcelayer', | ||
name='inspire_hdv', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='inspire_hdv', to='inspire.inspirehdv'), | ||
), | ||
] |
23 changes: 23 additions & 0 deletions
23
framework/inspire/migrations/0005_remove_sourcelayer_inspire_hdv_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,23 @@ | ||
# Generated by Django 4.2.5 on 2024-08-25 15:01 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('inspire', '0004_inspirehdv_sourcelayer_inspire_hdv'), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name='sourcelayer', | ||
name='inspire_hdv', | ||
), | ||
migrations.AddField( | ||
model_name='inspiredataset', | ||
name='inspire_hdv', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='inspire_hdv', to='inspire.inspirehdv'), | ||
), | ||
] |
19 changes: 19 additions & 0 deletions
19
framework/inspire/migrations/0006_inspiremap_inspire_hdv.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,19 @@ | ||
# Generated by Django 4.2.5 on 2024-08-25 21:12 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('inspire', '0005_remove_sourcelayer_inspire_hdv_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='inspiremap', | ||
name='inspire_hdv', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, related_name='inspire_hdv_map', to='inspire.inspirehdv'), | ||
), | ||
] |
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