oficina / memoria Public

Clone
git clone https://amadan.net/oficina/memoria

Plain git — no account needed to clone.

Download

Download this file

1package memoria
2
3import (
4 "embed"
5 "io/fs"
6
7 "amadan.net/rastrillo/rastrillo/migrate"
8)
9
10//go:embed home_migrations/migrations/*.sql
11var homeMigrationFS embed.FS
12
13var homeIdentitySchema = func() *migrate.Set {
14 sub, err := fs.Sub(homeMigrationFS, "home_migrations")
15 if err != nil {
16 panic(err)
17 }
18 return migrate.MustFromFS(sub, "memoria_home_identity")
19}()
20