mirror of
https://github.com/makeplane/plane.git
synced 2025-12-16 20:07:56 +01:00
chore: added the migration for issue type
This commit is contained in:
18
apps/api/plane/db/migrations/0109_issuetype_is_global.py
Normal file
18
apps/api/plane/db/migrations/0109_issuetype_is_global.py
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
# Generated by Django 4.2.25 on 2025-11-10 08:43
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('db', '0108_alter_issueactivity_issue_comment'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name='issuetype',
|
||||||
|
name='is_global',
|
||||||
|
field=models.BooleanField(default=False),
|
||||||
|
),
|
||||||
|
]
|
||||||
@@ -18,6 +18,7 @@ class IssueType(BaseModel):
|
|||||||
level = models.FloatField(default=0)
|
level = models.FloatField(default=0)
|
||||||
external_source = models.CharField(max_length=255, null=True, blank=True)
|
external_source = models.CharField(max_length=255, null=True, blank=True)
|
||||||
external_id = models.CharField(max_length=255, blank=True, null=True)
|
external_id = models.CharField(max_length=255, blank=True, null=True)
|
||||||
|
is_global = models.BooleanField(default=False)
|
||||||
|
|
||||||
class Meta:
|
class Meta:
|
||||||
verbose_name = "Issue Type"
|
verbose_name = "Issue Type"
|
||||||
|
|||||||
Reference in New Issue
Block a user