Second checkpoint
This commit is contained in:
10
migrations/embed.go
Normal file
10
migrations/embed.go
Normal file
@@ -0,0 +1,10 @@
|
||||
// Package migrations embeds the SQL migration files so they can be applied from
|
||||
// the single application binary (via the `gis migrate` subcommand).
|
||||
package migrations
|
||||
|
||||
import "embed"
|
||||
|
||||
// FS holds the embedded goose migration files.
|
||||
//
|
||||
//go:embed *.sql
|
||||
var FS embed.FS
|
||||
Reference in New Issue
Block a user