MCPcopy
hub / github.com/writefreely/writefreely / migration

Struct migration

migrations/migrations.go:41–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41type migration struct {
42 description string
43 migrate func(db *datastore) error
44}
45
46func New(d string, fn func(db *datastore) error) Migration {
47 return &migration{d, fn}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected