Download this file
| 1 | package directorydata |
| 2 | |
| 3 | import ( |
| 4 | "embed" |
| 5 | "io/fs" |
| 6 | |
| 7 | "amadan.net/rastrillo/rastrillo/migrate" |
| 8 | ) |
| 9 | |
| 10 | //go:embed operator_migrations |
| 11 | var operatorMigrations embed.FS |
| 12 | |
| 13 | // OperatorSchema adds empty provisioning pointers and verification history. |
| 14 | // No migration creates authority or opens a pending consumer window. |
| 15 | var OperatorSchema = func() *migrate.Set { |
| 16 | f, e := fs.Sub(operatorMigrations, "operator_migrations") |
| 17 | if e != nil { |
| 18 | panic(e) |
| 19 | } |
| 20 | return migrate.MustFromFS(f, "oficina_directory_operator_bindings") |
| 21 | }() |
| 22 | |