Download this file
| 1 | package equipo |
| 2 | |
| 3 | import ( |
| 4 | "amadan.net/oficina/equipo/internal/equipo/oficinaid" |
| 5 | "amadan.net/oficina/home/connect/linkstore" |
| 6 | "amadan.net/oficina/home/handoff" |
| 7 | "embed" |
| 8 | |
| 9 | "amadan.net/rastrillo/rastrillo/auth" |
| 10 | "amadan.net/rastrillo/rastrillo/migrate" |
| 11 | "amadan.net/rastrillo/rastrillo/pow" |
| 12 | "amadan.net/rastrillo/rastrillo/sessions" |
| 13 | ) |
| 14 | |
| 15 | //go:embed migrations/*.sql |
| 16 | var migrationFS embed.FS |
| 17 | |
| 18 | // Schema contains only app tables, so migration check can compare Models. |
| 19 | var Schema = migrate.MustFromFS(migrationFS, "equipo") |
| 20 | |
| 21 | var BootSchema = migrate.Merge(sessions.Schema, auth.Schema, pow.Schema, migrate.MustFromFS(handoff.Migrations, "oficina_handoff"), migrate.MustFromFS(linkstore.Migrations, linkstore.SchemaNamespace), Schema, oficinaid.LifecycleSchema) |
| 22 | |