Loading services/webapp/code/rosetta/core_app/migrations/0032_auto_20220409_1813.py 0 → 100644 +23 −0 Original line number Diff line number Diff line # Generated by Django 2.2.1 on 2022-04-09 18:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core_app', '0031_container_env_vars'), ] operations = [ migrations.AddField( model_name='storage', name='browsable', field=models.BooleanField(default=False, verbose_name='Browsable in the file manager?'), ), migrations.AlterField( model_name='storage', name='bind_path', field=models.CharField(blank=True, max_length=4096, null=True, verbose_name='Bind path'), ), ] services/webapp/code/rosetta/core_app/models.py +4 −1 Original line number Diff line number Diff line Loading @@ -383,7 +383,7 @@ class Storage(models.Model): # Paths base_path = models.CharField('Base path', max_length=4096, blank=False, null=False) bind_path = models.CharField('Bind path', max_length=4096, blank=False, null=False) bind_path = models.CharField('Bind path', max_length=4096, blank=True, null=True) # Link with a computing resource computing = models.ForeignKey(Computing, related_name='storages', on_delete=models.CASCADE, blank=True, null=True) # Make optional? Loading @@ -393,6 +393,9 @@ class Storage(models.Model): # Configuration conf = JSONField(blank=True, null=True) # Include as browsable in the file manager? browsable = models.BooleanField('Browsable in the file manager?', default=False) class Meta: ordering = ['name'] Loading Loading
services/webapp/code/rosetta/core_app/migrations/0032_auto_20220409_1813.py 0 → 100644 +23 −0 Original line number Diff line number Diff line # Generated by Django 2.2.1 on 2022-04-09 18:13 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('core_app', '0031_container_env_vars'), ] operations = [ migrations.AddField( model_name='storage', name='browsable', field=models.BooleanField(default=False, verbose_name='Browsable in the file manager?'), ), migrations.AlterField( model_name='storage', name='bind_path', field=models.CharField(blank=True, max_length=4096, null=True, verbose_name='Bind path'), ), ]
services/webapp/code/rosetta/core_app/models.py +4 −1 Original line number Diff line number Diff line Loading @@ -383,7 +383,7 @@ class Storage(models.Model): # Paths base_path = models.CharField('Base path', max_length=4096, blank=False, null=False) bind_path = models.CharField('Bind path', max_length=4096, blank=False, null=False) bind_path = models.CharField('Bind path', max_length=4096, blank=True, null=True) # Link with a computing resource computing = models.ForeignKey(Computing, related_name='storages', on_delete=models.CASCADE, blank=True, null=True) # Make optional? Loading @@ -393,6 +393,9 @@ class Storage(models.Model): # Configuration conf = JSONField(blank=True, null=True) # Include as browsable in the file manager? browsable = models.BooleanField('Browsable in the file manager?', default=False) class Meta: ordering = ['name'] Loading