diff --git a/services/webapp/code/rosetta/core_app/migrations/0028_computing_arch.py b/services/webapp/code/rosetta/core_app/migrations/0028_computing_arch.py new file mode 100644 index 0000000000000000000000000000000000000000..7088e4c1b66f07a73e70a25514cf992ed8f865c8 --- /dev/null +++ b/services/webapp/code/rosetta/core_app/migrations/0028_computing_arch.py @@ -0,0 +1,19 @@ +# Generated by Django 2.2.1 on 2021-11-24 01:00 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('core_app', '0027_computing_supported_archs'), + ] + + operations = [ + migrations.AddField( + model_name='computing', + name='arch', + field=models.CharField(default='amd64', max_length=255, verbose_name='Architecture'), + preserve_default=False, + ), + ] diff --git a/services/webapp/code/rosetta/core_app/models.py b/services/webapp/code/rosetta/core_app/models.py index 346c996403d613545f1e08abc32b03d8477dc76e..e772eea43853f599a29c23658e436312d2a2fcb6 100644 --- a/services/webapp/code/rosetta/core_app/models.py +++ b/services/webapp/code/rosetta/core_app/models.py @@ -230,11 +230,6 @@ class Computing(models.Model): def default_container_runtime(self): return str(self.container_runtimes).split(',')[0] - @property - def arch(self): - return 'amd64' - - #======================= # Computing manager