feat(captain): align custom tool limits
This commit is contained in:
@@ -251,9 +251,9 @@ func (CaptainScenario) TableName() string { return "captain_scenarios" }
|
||||
|
||||
type CaptainCustomTool struct {
|
||||
Base
|
||||
AccountID uint `gorm:"index;not null" json:"account_id"`
|
||||
AccountID uint `gorm:"index;uniqueIndex:idx_captain_custom_tools_account_slug,priority:1;not null" json:"account_id"`
|
||||
Title string `gorm:"size:255;not null" json:"title"`
|
||||
Slug string `gorm:"size:64;not null;uniqueIndex:idx_account_slug" json:"slug"`
|
||||
Slug string `gorm:"size:64;not null;uniqueIndex:idx_captain_custom_tools_account_slug,priority:2" json:"slug"`
|
||||
Description string `gorm:"type:text" json:"description,omitempty"`
|
||||
EndpointURL string `gorm:"type:text;not null" json:"endpoint_url"`
|
||||
HTTPMethod string `gorm:"size:10;default:GET;not null" json:"http_method"`
|
||||
|
||||
Reference in New Issue
Block a user