mirror of
https://github.com/pocketbase/pocketbase.git
synced 2026-09-13 10:00:44 +02:00
updated raw sql length limit to 5000 for consistency with the dry-run-view-query
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ type runSQLForm struct {
|
||||
|
||||
func (form *runSQLForm) validate() error {
|
||||
return validation.ValidateStruct(form,
|
||||
validation.Field(&form.Query, validation.Required, validation.Length(0, 3000)),
|
||||
validation.Field(&form.Query, validation.Required, validation.Length(0, 5000)),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user