mirror of
https://github.com/pocketbase/pocketbase.git
synced 2024-11-24 17:07:00 +02:00
updated migrations comment
This commit is contained in:
parent
07727dbde6
commit
56a77fd5ff
@ -4,7 +4,7 @@ import (
|
||||
"github.com/pocketbase/dbx"
|
||||
)
|
||||
|
||||
// This migrations converts all logs "method" valus to all UPPERCASE (eg. "get" => "GET").
|
||||
// This migration normalizes the request logs method to UPPERCASE (eg. "get" => "GET").
|
||||
func init() {
|
||||
LogsMigrations.Register(func(db dbx.Builder) error {
|
||||
_, err := db.NewQuery("UPDATE {{_requests}} SET method=UPPER(method)").Execute()
|
||||
|
Loading…
Reference in New Issue
Block a user