mirror of
https://github.com/hanzo-fi/stack.git
synced 2026-10-30 20:34:43 +00:00
Co-authored-by: Antoine Wacheux <[email protected]> Co-authored-by: Maxence Maireaux <[email protected]> Co-authored-by: Brieuc Caillot <[email protected]>
14 lines
213 B
Go
14 lines
213 B
Go
package migrations
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/uptrace/bun"
|
|
)
|
|
|
|
type Migration struct {
|
|
Name string
|
|
Up func(tx bun.Tx) error
|
|
UpWithContext func(ctx context.Context, tx bun.Tx) error
|
|
}
|