-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #440 from 0RAJA/feat_migration
feat: 补充 migration 文件 --story=119849292
- Loading branch information
Showing
3 changed files
with
183 additions
and
0 deletions.
There are no files selected for viewing
123 changes: 123 additions & 0 deletions
123
src/backend/apps/meta/migrations/0006_auto_20240924_2356.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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="修改者"), | ||
), | ||
] |
42 changes: 42 additions & 0 deletions
42
src/backend/services/web/analyze/migrations/0008_auto_20240924_2356.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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="修改者"), | ||
), | ||
] |
18 changes: 18 additions & 0 deletions
18
...kend/services/web/strategy_v2/migrations/0008_alter_strategy_event_basic_field_configs.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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"), | ||
), | ||
] |