mirror of
https://github.com/miniflux/v2.git
synced 2025-09-15 18:57:04 +00:00
Refactor SQL migrations
- Avoid embedding SQL files into binary - Allow more flexible changes by using Go functions
This commit is contained in:
parent
f88e93a0b9
commit
5b74083b5f
49 changed files with 481 additions and 561 deletions
|
@ -215,7 +215,6 @@ func main() {
|
|||
|
||||
generateBinaryBundle("ui/static/bin.go", glob("ui/static/bin/*"))
|
||||
|
||||
generateBundle("database/sql.go", "database", "SqlMap", glob("database/sql/*.sql"))
|
||||
generateBundle("template/views.go", "template", "templateViewsMap", glob("template/html/*.html"))
|
||||
generateBundle("template/common.go", "template", "templateCommonMap", glob("template/html/common/*.html"))
|
||||
generateBundle("locale/translations.go", "locale", "translations", glob("locale/translations/*.json"))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue