From bc5a240121d569834cc7ecb85d0bffb3c7b03813 Mon Sep 17 00:00:00 2001 From: BaiJiangJie <32935519+BaiJiangJie@users.noreply.github.com> Date: Tue, 10 Dec 2019 17:06:44 +0800 Subject: [PATCH] =?UTF-8?q?[Update]=20=E6=9B=B4=E6=96=B0=E8=BF=81=E7=A7=BB?= =?UTF-8?q?=E6=96=87=E4=BB=B6=EF=BC=88ReplayStorage=20Type=EF=BC=8CRemoteA?= =?UTF-8?q?pp=20Type=EF=BC=89=20(#3524)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../migrations/0003_auto_20191210_1659.py | 18 ++++++++++++++++++ .../0016_commandstorage_replaystorage.py | 2 +- 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 apps/applications/migrations/0003_auto_20191210_1659.py diff --git a/apps/applications/migrations/0003_auto_20191210_1659.py b/apps/applications/migrations/0003_auto_20191210_1659.py new file mode 100644 index 000000000..fc3e4cdf5 --- /dev/null +++ b/apps/applications/migrations/0003_auto_20191210_1659.py @@ -0,0 +1,18 @@ +# Generated by Django 2.1.11 on 2019-12-10 08:59 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('applications', '0002_remove_remoteapp_system_user'), + ] + + operations = [ + migrations.AlterField( + model_name='remoteapp', + name='type', + field=models.CharField(choices=[('chrome', 'Chrome'), ('mysql_workbench', 'MySQL Workbench'), ('vmware_client', 'vSphere Client'), ('custom', 'Custom')], default='chrome', max_length=128, verbose_name='App type'), + ), + ] diff --git a/apps/terminal/migrations/0016_commandstorage_replaystorage.py b/apps/terminal/migrations/0016_commandstorage_replaystorage.py index bb73b1c46..108112fa4 100644 --- a/apps/terminal/migrations/0016_commandstorage_replaystorage.py +++ b/apps/terminal/migrations/0016_commandstorage_replaystorage.py @@ -36,7 +36,7 @@ class Migration(migrations.Migration): ('date_created', models.DateTimeField(auto_now_add=True, null=True, verbose_name='Date created')), ('date_updated', models.DateTimeField(auto_now=True, verbose_name='Date updated')), ('name', models.CharField(max_length=32, unique=True, verbose_name='Name')), - ('type', models.CharField(choices=[('null', 'Null'), ('server', 'Server'), ('s3', 'S3'), ('oss', 'OSS'), ('azure', 'Azure')], default='server', max_length=16, verbose_name='Type')), + ('type', models.CharField(choices=[('null', 'Null'), ('server', 'Server'), ('s3', 'S3'), ('ceph', 'Ceph'), ('swift', 'Swift'), ('oss', 'OSS'), ('azure', 'Azure')], default='server', max_length=16, verbose_name='Type')), ('meta', common.fields.model.EncryptJsonDictTextField(default={})), ('comment', models.TextField(blank=True, default='', max_length=128, verbose_name='Comment')), ],