1package migrate23import (4 "context"56 "github.com/charmbracelet/soft-serve/pkg/db"7)89const (10 webhooksName = "webhooks"11 webhooksVersion = 212)1314var webhooks = Migration{15 Name: webhooksName,16 Version: webhooksVersion,17 Migrate: func(ctx context.Context, tx *db.Tx) error {18 return migrateUp(ctx, tx, webhooksVersion, webhooksName)19 },20 Rollback: func(ctx context.Context, tx *db.Tx) error {21 return migrateDown(ctx, tx, webhooksVersion, webhooksName)22 },23}