mirror of
https://github.com/makeplane/plane.git
synced 2025-12-16 20:07:56 +01:00
chore: correct migration file 0098 (#7486)
* feat: restore background color and goals fields in Profile and Workspace models in migration 0099 * chore: update migration dependency to reflect recent changes in profile model migrations
This commit is contained in:
@@ -1,29 +0,0 @@
|
|||||||
# Generated by Django 4.2.22 on 2025-07-27 15:40
|
|
||||||
|
|
||||||
from django.db import migrations, models
|
|
||||||
import plane.utils.color
|
|
||||||
|
|
||||||
|
|
||||||
class Migration(migrations.Migration):
|
|
||||||
|
|
||||||
dependencies = [
|
|
||||||
('db', '0097_project_external_id_project_external_source'),
|
|
||||||
]
|
|
||||||
|
|
||||||
operations = [
|
|
||||||
migrations.AddField(
|
|
||||||
model_name='profile',
|
|
||||||
name='background_color',
|
|
||||||
field=models.CharField(default=plane.utils.color.get_random_color, max_length=255),
|
|
||||||
),
|
|
||||||
migrations.AddField(
|
|
||||||
model_name='profile',
|
|
||||||
name='goals',
|
|
||||||
field=models.JSONField(default=dict),
|
|
||||||
),
|
|
||||||
migrations.AddField(
|
|
||||||
model_name='workspace',
|
|
||||||
name='background_color',
|
|
||||||
field=models.CharField(default=plane.utils.color.get_random_color, max_length=255),
|
|
||||||
),
|
|
||||||
]
|
|
||||||
@@ -0,0 +1,34 @@
|
|||||||
|
# Generated by Django 4.2.22 on 2025-07-27 16:01
|
||||||
|
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
import plane.utils.color
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
("db", "0098_profile_is_app_rail_docked_and_more"),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AddField(
|
||||||
|
model_name="profile",
|
||||||
|
name="background_color",
|
||||||
|
field=models.CharField(
|
||||||
|
default=plane.utils.color.get_random_color, max_length=255
|
||||||
|
),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name="profile",
|
||||||
|
name="goals",
|
||||||
|
field=models.JSONField(default=dict),
|
||||||
|
),
|
||||||
|
migrations.AddField(
|
||||||
|
model_name="workspace",
|
||||||
|
name="background_color",
|
||||||
|
field=models.CharField(
|
||||||
|
default=plane.utils.color.get_random_color, max_length=255
|
||||||
|
),
|
||||||
|
),
|
||||||
|
]
|
||||||
Reference in New Issue
Block a user