diff --git a/framework/climate/migrations/0006_tempresultfile.py b/framework/climate/migrations/0006_tempresultfile.py new file mode 100644 index 0000000..3223b75 --- /dev/null +++ b/framework/climate/migrations/0006_tempresultfile.py @@ -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)), + ], + ), + ] diff --git a/framework/climate/migrations/0007_tempresultfile_timestamp_begin.py b/framework/climate/migrations/0007_tempresultfile_timestamp_begin.py new file mode 100644 index 0000000..c6a6c76 --- /dev/null +++ b/framework/climate/migrations/0007_tempresultfile_timestamp_begin.py @@ -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), + ), + ] diff --git a/framework/content/migrations/0005_alter_storylinepart_image_alter_storylinepart_region.py b/framework/content/migrations/0005_alter_storylinepart_image_alter_storylinepart_region.py new file mode 100644 index 0000000..b66f7b7 --- /dev/null +++ b/framework/content/migrations/0005_alter_storylinepart_image_alter_storylinepart_region.py @@ -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'), + ), + ] diff --git a/framework/layers/migrations/0014_workpackage_contact_image_contact_organisation_ror_and_more.py b/framework/layers/migrations/0014_workpackage_contact_image_contact_organisation_ror_and_more.py new file mode 100644 index 0000000..9ad66e8 --- /dev/null +++ b/framework/layers/migrations/0014_workpackage_contact_image_contact_organisation_ror_and_more.py @@ -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'), + ), + ] diff --git a/framework/map/migrations/0004_alter_maplayerstyle_template_file.py b/framework/map/migrations/0004_alter_maplayerstyle_template_file.py new file mode 100644 index 0000000..e4164b2 --- /dev/null +++ b/framework/map/migrations/0004_alter_maplayerstyle_template_file.py @@ -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'), + ), + ] diff --git a/framework/mapviewer/migrations/0006_alter_mapviewer_template_file.py b/framework/mapviewer/migrations/0006_alter_mapviewer_template_file.py new file mode 100644 index 0000000..f3b4ae8 --- /dev/null +++ b/framework/mapviewer/migrations/0006_alter_mapviewer_template_file.py @@ -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'), + ), + ]