Added migrations for mysql and postgres, added ci testing suites for them

This commit is contained in:
Jamie Curnow
2023-05-30 13:26:46 +10:00
parent e0773b1c06
commit 3c1b4fdf34
13 changed files with 1266 additions and 41 deletions

View File

@ -16,7 +16,7 @@ type KeysModel struct {
// TableName overrides the table name used by gorm
func (KeysModel) TableName() string {
return "keys"
return "jwt_keys"
}
// LoadByID will load from an ID