Files
tecvico-website/apps/projects/migrations/0003_merge_goals_and_lock_visibility.py
T
2026-07-19 14:31:28 +03:30

97 lines
3.8 KiB
Python

# Generated by Django 5.2.15 on 2026-07-18 04:41
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('projects', '0002_website_showcase_fields'),
]
operations = [
migrations.RemoveField(
model_name='projectbrief',
name='goals',
),
migrations.RemoveField(
model_name='projectbrief',
name='show_goals_on_website',
),
migrations.AddField(
model_name='projectbrief',
name='lock_attachments',
field=models.BooleanField(default=False, help_text='Lock attachments for the client.'),
),
migrations.AddField(
model_name='projectbrief',
name='lock_budget_range',
field=models.BooleanField(default=False, help_text='Lock budget range for the client.'),
),
migrations.AddField(
model_name='projectbrief',
name='lock_category',
field=models.BooleanField(default=False, help_text='Lock category for the client.'),
),
migrations.AddField(
model_name='projectbrief',
name='lock_description',
field=models.BooleanField(default=False, help_text='Lock description for the client.'),
),
migrations.AddField(
model_name='projectbrief',
name='lock_desired_deadline',
field=models.BooleanField(default=False, help_text='Lock desired deadline for the client.'),
),
migrations.AddField(
model_name='projectbrief',
name='lock_reference_links',
field=models.BooleanField(default=False, help_text='Lock reference links for the client.'),
),
migrations.AddField(
model_name='projectbrief',
name='lock_title',
field=models.BooleanField(default=False, help_text='Lock title for the client.'),
),
migrations.AddField(
model_name='projectbrief',
name='locked',
field=models.BooleanField(default=False, help_text='Lock the whole project so the client cannot edit it at all.'),
),
migrations.AddField(
model_name='projectbrief',
name='show_attachments_on_website',
field=models.BooleanField(default=False, help_text='Show attachment filenames on the website card.'),
),
migrations.AddField(
model_name='projectbrief',
name='show_budget_on_website',
field=models.BooleanField(default=False, help_text='Show the budget range on the website card.'),
),
migrations.AddField(
model_name='projectbrief',
name='show_deadline_on_website',
field=models.BooleanField(default=False, help_text='Show the desired deadline on the website card.'),
),
migrations.AddField(
model_name='projectbrief',
name='show_references_on_website',
field=models.BooleanField(default=False, help_text='Show reference links on the website card.'),
),
migrations.AddField(
model_name='projectbrief',
name='show_title_on_website',
field=models.BooleanField(default=True, help_text='Show the title on the website card.'),
),
migrations.AlterField(
model_name='projectbrief',
name='description',
field=models.TextField(help_text='Project scope, context, and goals combined.'),
),
migrations.AlterField(
model_name='projectbrief',
name='show_description_on_website',
field=models.BooleanField(default=True, help_text='Use the description as the website card summary when no summary is set.'),
),
]