From 2013ff0a0b86f4aeec8649420237e8a4ca99a99e Mon Sep 17 00:00:00 2001 From: Fitz Elliott Date: Wed, 20 Nov 2024 22:51:24 -0500 Subject: [PATCH] add new migration for remote computing --- ...thorizedremotecomputingaccount_and_more.py | 85 +++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 addon_service/migrations/0007_authorizedremotecomputingaccount_and_more.py diff --git a/addon_service/migrations/0007_authorizedremotecomputingaccount_and_more.py b/addon_service/migrations/0007_authorizedremotecomputingaccount_and_more.py new file mode 100644 index 00000000..17823582 --- /dev/null +++ b/addon_service/migrations/0007_authorizedremotecomputingaccount_and_more.py @@ -0,0 +1,85 @@ +# Generated by Django 4.2.7 on 2024-11-21 03:37 + +import django.db.models.deletion +from django.db import ( + migrations, + models, +) + + +class Migration(migrations.Migration): + + dependencies = [ + ( + "addon_service", + "0006_externalcitationservice_int_supported_features_and_more", + ), + ] + + operations = [ + migrations.CreateModel( + name="AuthorizedRemoteComputingAccount", + fields=[ + ( + "authorizedaccount_ptr", + models.OneToOneField( + auto_created=True, + on_delete=django.db.models.deletion.CASCADE, + parent_link=True, + primary_key=True, + serialize=False, + to="addon_service.authorizedaccount", + ), + ), + ("default_root_folder", models.CharField(blank=True)), + ], + options={ + "verbose_name": "Authorized Remote Computing Account", + "verbose_name_plural": "Authorized Remote Computing Accounts", + }, + bases=("addon_service.authorizedaccount",), + ), + migrations.CreateModel( + name="ConfiguredRemoteComputingAddon", + fields=[ + ( + "configuredaddon_ptr", + models.OneToOneField( + auto_created=True, + on_delete=django.db.models.deletion.CASCADE, + parent_link=True, + primary_key=True, + serialize=False, + to="addon_service.configuredaddon", + ), + ), + ("root_folder", models.CharField(blank=True)), + ], + options={ + "verbose_name": "Configured Remote Computing Addon", + "verbose_name_plural": "Configured Remote Computing Addons", + }, + bases=("addon_service.configuredaddon",), + ), + migrations.CreateModel( + name="ExternalRemoteComputingService", + fields=[ + ( + "externalservice_ptr", + models.OneToOneField( + auto_created=True, + on_delete=django.db.models.deletion.CASCADE, + parent_link=True, + primary_key=True, + serialize=False, + to="addon_service.externalservice", + ), + ), + ], + options={ + "verbose_name": "External Remote Computing Service", + "verbose_name_plural": "External Remote Computing Services", + }, + bases=("addon_service.externalservice",), + ), + ]