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
165 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Generated by Django 4.2.5 on 2024-07-03 08:49 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('climate', '0005_climatelayer_variable_name_in_file'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='TempResultFile', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('categorized_filename', models.CharField(max_length=500, null=True, unique=True)), | ||
('filename', models.CharField(max_length=400, null=True)), | ||
('category', models.CharField(choices=[('water_budget', 'water_budget'), ('water_budget_bias', 'water_budget_bias'), ('kaariba', 'kaariba')], max_length=255, null=True)), | ||
('num_bands', models.IntegerField(null=True)), | ||
('band_metadata', models.JSONField(default=dict)), | ||
('net_cdf_times', models.JSONField(default=dict)), | ||
('st_mtime_nc', models.CharField(max_length=255, null=True)), | ||
('st_mtime_tif', models.CharField(max_length=255, null=True)), | ||
('st_size_nc', models.CharField(max_length=255, null=True)), | ||
], | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
framework/climate/migrations/0007_tempresultfile_timestamp_begin.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,18 @@ | ||
# Generated by Django 4.2.5 on 2024-07-20 16:44 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('climate', '0006_tempresultfile'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='tempresultfile', | ||
name='timestamp_begin', | ||
field=models.CharField(max_length=500, null=True), | ||
), | ||
] |
25 changes: 25 additions & 0 deletions
25
framework/content/migrations/0005_alter_storylinepart_image_alter_storylinepart_region.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,25 @@ | ||
# Generated by Django 4.2.5 on 2024-01-15 22:12 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('geospatial', '0001_initial'), | ||
('content', '0004_alter_externaldatabase_region_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='storylinepart', | ||
name='image', | ||
field=models.ImageField(blank=True, help_text='To avoid cutting off parts of your image please resize it in advance. Right position: max. 300px width; Bottom max. 600px.If you upload a GIF please make sure the size is not higher than 500kb', null=True, upload_to='images/'), | ||
), | ||
migrations.AlterField( | ||
model_name='storylinepart', | ||
name='region', | ||
field=models.ForeignKey(help_text='Please click - Save and continue editing - to update the layer lists below', on_delete=django.db.models.deletion.PROTECT, to='geospatial.region'), | ||
), | ||
] |
58 changes: 58 additions & 0 deletions
58
...ork/layers/migrations/0014_workpackage_contact_image_contact_organisation_ror_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,58 @@ | ||
# Generated by Django 4.2.5 on 2024-07-20 16:44 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('layers', '0013_alter_layer_progress_alter_layer_scope_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='WorkPackage', | ||
fields=[ | ||
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('name', models.CharField(blank=True, max_length=200)), | ||
('title', models.CharField(blank=True, max_length=200)), | ||
('description', models.TextField(blank=True, null=True)), | ||
], | ||
), | ||
migrations.AddField( | ||
model_name='contact', | ||
name='image', | ||
field=models.ImageField(blank=True, null=True, upload_to='contact/images/'), | ||
), | ||
migrations.AddField( | ||
model_name='contact', | ||
name='organisation_ror', | ||
field=models.CharField(blank=True, max_length=200, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='contact', | ||
name='organisation_short', | ||
field=models.CharField(blank=True, max_length=200), | ||
), | ||
migrations.AddField( | ||
model_name='contact', | ||
name='person_orcid', | ||
field=models.CharField(blank=True, max_length=200, null=True), | ||
), | ||
migrations.AddField( | ||
model_name='contact', | ||
name='title', | ||
field=models.CharField(blank=True, max_length=200), | ||
), | ||
migrations.AlterField( | ||
model_name='contact', | ||
name='related_org', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.SET_NULL, to='layers.contact', verbose_name='Related organization'), | ||
), | ||
migrations.AddField( | ||
model_name='contact', | ||
name='work_packages', | ||
field=models.ManyToManyField(blank=True, to='layers.workpackage'), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
framework/map/migrations/0004_alter_maplayerstyle_template_file.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,18 @@ | ||
# Generated by Django 4.2.5 on 2024-01-15 22:12 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('map', '0003_alter_conformitymapinline_date_type_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='maplayerstyle', | ||
name='template_file', | ||
field=models.FilePathField(blank=True, match='.*\\.xml', max_length=1000, null=True, path='/opt/geoportal_tippecc/geoportal/framework/templates/sld', verbose_name='Template file'), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
framework/mapviewer/migrations/0006_alter_mapviewer_template_file.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,18 @@ | ||
# Generated by Django 4.2.5 on 2024-01-15 22:12 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('mapviewer', '0005_alter_baselayerinline_baselayer_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='mapviewer', | ||
name='template_file', | ||
field=models.FilePathField(match='.*\\.html', max_length=1000, path='/opt/geoportal_tippecc/geoportal/framework/templates/mapviewer', verbose_name='Template file'), | ||
), | ||
] |