This commit is contained in:
alorig
2025-11-18 07:13:34 +05:00
parent 51c3986e01
commit 2074191eee
17 changed files with 2578 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
# Generated manually for Phase 8: Universal Content Types
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('system', '0008_add_site_structure_generation_prompt_type'),
]
operations = [
migrations.AlterField(
model_name='aiprompt',
name='prompt_type',
field=models.CharField(
choices=[
('clustering', 'Clustering'),
('ideas', 'Ideas Generation'),
('content_generation', 'Content Generation'),
('image_prompt_extraction', 'Image Prompt Extraction'),
('image_prompt_template', 'Image Prompt Template'),
('negative_prompt', 'Negative Prompt'),
('site_structure_generation', 'Site Structure Generation'),
('product_generation', 'Product Content Generation'),
('service_generation', 'Service Page Generation'),
('taxonomy_generation', 'Taxonomy Generation'),
],
db_index=True,
max_length=50
),
),
]

View File

@@ -21,6 +21,10 @@ class AIPrompt(AccountBaseModel):
('image_prompt_template', 'Image Prompt Template'),
('negative_prompt', 'Negative Prompt'),
('site_structure_generation', 'Site Structure Generation'), # Phase 7: Site Builder prompts
# Phase 8: Universal Content Types
('product_generation', 'Product Content Generation'),
('service_generation', 'Service Page Generation'),
('taxonomy_generation', 'Taxonomy Generation'),
]
prompt_type = models.CharField(max_length=50, choices=PROMPT_TYPE_CHOICES, db_index=True)