mirror of
https://github.com/acaloiaro/newsbox
synced 2026-07-21 10:12:26 +00:00
15 lines
246 B
Go
15 lines
246 B
Go
package grifts
|
|
|
|
import (
|
|
"github.com/gobuffalo/grift/grift"
|
|
)
|
|
|
|
var _ = grift.Namespace("db", func() {
|
|
|
|
grift.Desc("seed", "Seeds a database")
|
|
grift.Add("seed", func(c *grift.Context) error {
|
|
// Add DB seeding stuff here
|
|
return nil
|
|
})
|
|
|
|
})
|