Skip to content

Commit

Permalink
Merge pull request #440 from 0RAJA/feat_migration
Browse files Browse the repository at this point in the history
feat: 补充 migration 文件 --story=119849292
  • Loading branch information
0RAJA authored Sep 25, 2024
2 parents 6002681 + 8916434 commit 645bad8
Show file tree
Hide file tree
Showing 3 changed files with 183 additions and 0 deletions.
123 changes: 123 additions & 0 deletions src/backend/apps/meta/migrations/0006_auto_20240924_2356.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,123 @@
# Generated by Django 3.2.23 on 2024-09-24 15:56

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("meta", "0005_tag"),
]

operations = [
migrations.AlterField(
model_name="action",
name="created_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="创建者"),
),
migrations.AlterField(
model_name="action",
name="updated_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="修改者"),
),
migrations.AlterField(
model_name="customfield",
name="created_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="创建者"),
),
migrations.AlterField(
model_name="customfield",
name="updated_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="修改者"),
),
migrations.AlterField(
model_name="datamap",
name="created_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="创建者"),
),
migrations.AlterField(
model_name="datamap",
name="updated_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="修改者"),
),
migrations.AlterField(
model_name="field",
name="created_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="创建者"),
),
migrations.AlterField(
model_name="field",
name="updated_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="修改者"),
),
migrations.AlterField(
model_name="globalmetaconfig",
name="created_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="创建者"),
),
migrations.AlterField(
model_name="globalmetaconfig",
name="updated_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="修改者"),
),
migrations.AlterField(
model_name="namespace",
name="created_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="创建者"),
),
migrations.AlterField(
model_name="namespace",
name="updated_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="修改者"),
),
migrations.AlterField(
model_name="resourcetype",
name="created_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="创建者"),
),
migrations.AlterField(
model_name="resourcetype",
name="updated_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="修改者"),
),
migrations.AlterField(
model_name="sensitiveobject",
name="created_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="创建者"),
),
migrations.AlterField(
model_name="sensitiveobject",
name="updated_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="修改者"),
),
migrations.AlterField(
model_name="system",
name="created_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="创建者"),
),
migrations.AlterField(
model_name="system",
name="updated_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="修改者"),
),
migrations.AlterField(
model_name="systemrole",
name="created_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="创建者"),
),
migrations.AlterField(
model_name="systemrole",
name="updated_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="修改者"),
),
migrations.AlterField(
model_name="tag",
name="created_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="创建者"),
),
migrations.AlterField(
model_name="tag",
name="updated_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="修改者"),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Generated by Django 3.2.23 on 2024-09-24 15:56

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("analyze", "0007_init_default_control"),
]

operations = [
migrations.AlterField(
model_name="control",
name="control_type_id",
field=models.CharField(
choices=[("BKM", "Operate Audit"), ("AIOps", "BK Base AIOps")],
max_length=64,
verbose_name="Control Type ID",
),
),
migrations.AlterField(
model_name="control",
name="created_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="创建者"),
),
migrations.AlterField(
model_name="control",
name="updated_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="修改者"),
),
migrations.AlterField(
model_name="controlversion",
name="created_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="创建者"),
),
migrations.AlterField(
model_name="controlversion",
name="updated_by",
field=models.CharField(blank=True, default="", max_length=32, null=True, verbose_name="修改者"),
),
]
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Generated by Django 3.2.23 on 2024-09-24 15:56

from django.db import migrations, models


class Migration(migrations.Migration):

dependencies = [
("strategy_v2", "0007_auto_20240807_1130"),
]

operations = [
migrations.AlterField(
model_name="strategy",
name="event_basic_field_configs",
field=models.JSONField(blank=True, default=list, null=True, verbose_name="Event Field Configs"),
),
]

0 comments on commit 645bad8

Please sign in to comment.