feat: maintenance log (#170)

* remove repo for document tokens

* remove schema for doc tokens

* fix id template and generate cmd

* schema updates

* code gen

* bump dependencies

* fix broken migrations + add maintenance entry type

* spelling

* remove debug logger

* implement repository layer

* routes

* API client

* wip: maintenance log

* remove depreciated call
This commit is contained in:
Hayden 2022-12-09 20:57:57 -09:00 committed by GitHub
parent d6da63187b
commit 5bbb969763
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
79 changed files with 6320 additions and 4957 deletions

View file

@ -6,7 +6,7 @@ import (
"path/filepath"
)
// go:embed all:migrations
//go:embed all:migrations
var Files embed.FS
// Write writes the embedded migrations to a temporary directory.
@ -18,7 +18,7 @@ func Write(temp string) error {
return err
}
fsDir, err := Files.ReadDir(".")
fsDir, err := Files.ReadDir("migrations")
if err != nil {
return err
}