Download this file
| 1 | package aviso |
| 2 | |
| 3 | import ( |
| 4 | "embed" |
| 5 | |
| 6 | "amadan.net/rastrillo/rastrillo/migrate" |
| 7 | ) |
| 8 | |
| 9 | //go:embed migrations/*.sql |
| 10 | var migrationFS embed.FS |
| 11 | |
| 12 | // Schema is the addon's migration set. Merge it into the app's |
| 13 | // BootSchema, never its Schema: `rastrillo migration check` diffs |
| 14 | // Schema against Models and would propose dropping a table Models |
| 15 | // does not know about. |
| 16 | var Schema = migrate.MustFromFS(migrationFS, "aviso") |
| 17 | |