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:
@@ -12,6 +12,7 @@ import {
|
||||
ConfigProvider,
|
||||
DatePicker,
|
||||
Descriptions,
|
||||
Divider,
|
||||
Drawer,
|
||||
Dropdown,
|
||||
Empty,
|
||||
@@ -28,12 +29,15 @@ import {
|
||||
Row,
|
||||
Select,
|
||||
Skeleton,
|
||||
Space,
|
||||
Spin,
|
||||
Statistic,
|
||||
Switch,
|
||||
Steps,
|
||||
Table,
|
||||
Tabs,
|
||||
Tag,
|
||||
TimePicker,
|
||||
Tooltip,
|
||||
} from "ant-design-vue";
|
||||
|
||||
@@ -55,6 +59,7 @@ const queryClient = new QueryClient({
|
||||
});
|
||||
|
||||
const app = createApp(App);
|
||||
app.component("ATextarea", Input.TextArea);
|
||||
|
||||
[
|
||||
Alert,
|
||||
@@ -68,6 +73,7 @@ const app = createApp(App);
|
||||
ConfigProvider,
|
||||
DatePicker,
|
||||
Descriptions,
|
||||
Divider,
|
||||
Drawer,
|
||||
Dropdown,
|
||||
Empty,
|
||||
@@ -84,12 +90,15 @@ const app = createApp(App);
|
||||
Row,
|
||||
Select,
|
||||
Skeleton,
|
||||
Space,
|
||||
Spin,
|
||||
Statistic,
|
||||
Switch,
|
||||
Steps,
|
||||
Table,
|
||||
Tabs,
|
||||
Tag,
|
||||
TimePicker,
|
||||
Tooltip,
|
||||
].forEach((component) => {
|
||||
app.use(component);
|
||||
|
||||
Reference in New Issue
Block a user