feat(kol): add prompt_content field to KolPrompt and KolPromptRevision models
Backend CI / Backend (push) Successful in 16m17s
Backend CI / Backend (push) Successful in 16m17s
This commit is contained in:
@@ -559,6 +559,7 @@ type KolPrompt struct {
|
|||||||
PromptAssetKey pgtype.Text `json:"prompt_asset_key"`
|
PromptAssetKey pgtype.Text `json:"prompt_asset_key"`
|
||||||
SchemaJson []byte `json:"schema_json"`
|
SchemaJson []byte `json:"schema_json"`
|
||||||
CardConfigJson []byte `json:"card_config_json"`
|
CardConfigJson []byte `json:"card_config_json"`
|
||||||
|
PromptContent pgtype.Text `json:"prompt_content"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type KolPromptRevision struct {
|
type KolPromptRevision struct {
|
||||||
@@ -571,6 +572,7 @@ type KolPromptRevision struct {
|
|||||||
CardConfigJson []byte `json:"card_config_json"`
|
CardConfigJson []byte `json:"card_config_json"`
|
||||||
CreatedBy int64 `json:"created_by"`
|
CreatedBy int64 `json:"created_by"`
|
||||||
CreatedAt pgtype.Timestamptz `json:"created_at"`
|
CreatedAt pgtype.Timestamptz `json:"created_at"`
|
||||||
|
PromptContent pgtype.Text `json:"prompt_content"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type KolSubscription struct {
|
type KolSubscription struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user