-
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
4 changed files
with
105 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,39 @@ | ||
# Generated by Django 4.0.10 on 2023-06-01 13:14 | ||
|
||
import django.contrib.gis.db.models.fields | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
initial = True | ||
|
||
dependencies = [ | ||
('workflows', '0001_initial'), | ||
('virtual_labs', '0004_remove_virtuallab_profiles_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='DataProduct', | ||
fields=[ | ||
('uuid', models.UUIDField(primary_key=True, serialize=False)), | ||
('created', models.DateTimeField(auto_now_add=True, null=True)), | ||
('title', models.CharField(max_length=100)), | ||
('description', models.TextField(null=True)), | ||
('data_url', models.URLField(null=True)), | ||
('vlab', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='virtual_labs.virtuallab')), | ||
('workflow', models.ForeignKey(null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='workflows.workflow')), | ||
], | ||
), | ||
migrations.CreateModel( | ||
name='GeoDataProduct', | ||
fields=[ | ||
('dataproduct_ptr', models.OneToOneField(auto_created=True, on_delete=django.db.models.deletion.CASCADE, parent_link=True, primary_key=True, serialize=False, to='data_products.dataproduct')), | ||
('spatial_coverage', django.contrib.gis.db.models.fields.MultiPolygonField(srid=4326)), | ||
('raster_data_url', models.URLField(null=True)), | ||
], | ||
bases=('data_products.dataproduct', models.Model), | ||
), | ||
] |
20 changes: 20 additions & 0 deletions
20
vreapis/data_products/migrations/0002_alter_dataproduct_workflow.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,20 @@ | ||
# Generated by Django 4.0.10 on 2023-10-10 08:49 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('workflows', '0001_initial'), | ||
('data_products', '0001_initial'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='dataproduct', | ||
name='workflow', | ||
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.DO_NOTHING, to='workflows.workflow'), | ||
), | ||
] |
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,24 @@ | ||
# Generated by Django 4.0.10 on 2023-10-10 08:49 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
initial = True | ||
|
||
dependencies = [ | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='PaasConfiguration', | ||
fields=[ | ||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('title', models.CharField(max_length=100, null=True)), | ||
('description', models.TextField(help_text='Markdown-formatted description of the platform', null=True)), | ||
('documentation_url', models.URLField(blank=True, null=True)), | ||
('site_icon', models.TextField(help_text='Base 64-encoded image with a resolution of minimum 200x200 px. E.g. "data:image/png;base64,[...]"', null=True)), | ||
], | ||
), | ||
] |
22 changes: 22 additions & 0 deletions
22
vreapis/virtual_labs/migrations/0005_virtuallabinstance.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,22 @@ | ||
# Generated by Django 4.0.10 on 2023-10-10 08:53 | ||
|
||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('virtual_labs', '0004_remove_virtuallab_profiles_and_more'), | ||
] | ||
|
||
operations = [ | ||
migrations.CreateModel( | ||
name='VirtualLabInstance', | ||
fields=[ | ||
('id', models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')), | ||
('username', models.CharField(max_length=100, null=True)), | ||
('vlab', models.ForeignKey(null=True, on_delete=django.db.models.deletion.CASCADE, to='virtual_labs.virtuallab')), | ||
], | ||
), | ||
] |