1
0
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:
Gani Georgiev 2023-03-02 15:16:47 +02:00
parent 07727dbde6
commit 56a77fd5ff

View File

@ -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()