12 lines
318 B
Go
12 lines
318 B
Go
// Package migrations embeds the SQL schema migrations so they ship inside the
|
|
// server binary and need no separate files at deploy time.
|
|
package migrations
|
|
|
|
import "embed"
|
|
|
|
// FS holds the migration files, named per golang-migrate's convention:
|
|
// {version}_{name}.{up|down}.sql.
|
|
//
|
|
//go:embed *.sql
|
|
var FS embed.FS
|