feat(migrations): Harden task audit tracking and optimize article templates

- Added migration to harden task audit tracking by modifying audit_logs and related tables.
- Introduced operator_id to several tables for better tracking of actions.
- Updated article_templates with new prompt templates for various article types, enhancing content generation.
- Created prompt_rules and schedule_tasks tables to manage content generation rules and scheduling.
- Added foreign key constraints to articles for better data integrity.
This commit is contained in:
2026-04-02 00:31:28 +08:00
parent de30497f59
commit b31d8d0096
101 changed files with 16671 additions and 721 deletions
+3 -3
View File
@@ -661,7 +661,7 @@ async function submitCompetitor(): Promise<void> {
<a-input v-model:value="brandForm.name" />
</a-form-item>
<a-form-item :label="t('brands.form.brandDescription')">
<a-input-text-area v-model:value="brandForm.description" :rows="4" />
<a-textarea v-model:value="brandForm.description" :rows="4" />
</a-form-item>
</a-form>
</a-modal>
@@ -691,7 +691,7 @@ async function submitCompetitor(): Promise<void> {
/>
</a-form-item>
<a-form-item :label="t('brands.form.questionText')">
<a-input-text-area v-model:value="questionForm.question_text" :rows="4" />
<a-textarea v-model:value="questionForm.question_text" :rows="4" />
</a-form-item>
</a-form>
</a-modal>
@@ -709,7 +709,7 @@ async function submitCompetitor(): Promise<void> {
<a-input v-model:value="competitorForm.website" />
</a-form-item>
<a-form-item :label="t('brands.form.competitorDescription')">
<a-input-text-area v-model:value="competitorForm.description" :rows="3" />
<a-textarea v-model:value="competitorForm.description" :rows="3" />
</a-form-item>
<a-form-item :label="t('brands.form.competitorLines')">
<a-input