From bba9e62d4313ebe0d274b478c60a84a6ec243b20 Mon Sep 17 00:00:00 2001 From: CaptainB Date: Thu, 12 Jun 2025 16:32:40 +0800 Subject: [PATCH] fix: add migrations for altering workspace_id and creating ModelWorkspaceAuthorization --- .../0002_alter_model_workspace_id.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 apps/models_provider/migrations/0002_alter_model_workspace_id.py diff --git a/apps/models_provider/migrations/0002_alter_model_workspace_id.py b/apps/models_provider/migrations/0002_alter_model_workspace_id.py new file mode 100644 index 000000000..9eb485b2e --- /dev/null +++ b/apps/models_provider/migrations/0002_alter_model_workspace_id.py @@ -0,0 +1,18 @@ +# Generated by Django 5.2.1 on 2025-06-12 08:30 + +from django.db import migrations, models + + +class Migration(migrations.Migration): + + dependencies = [ + ('models_provider', '0001_initial'), + ] + + operations = [ + migrations.AlterField( + model_name='model', + name='workspace_id', + field=models.CharField(db_index=True, default='default', max_length=64, verbose_name='工作空间id'), + ), + ]