This commit is contained in:
parent
b6f12b7acf
commit
8f8ad3035a
33 changed files with 166 additions and 111 deletions
|
@ -11,6 +11,7 @@ import (
|
|||
"git.mstar.dev/mstar/linstrom/storage-new/models"
|
||||
)
|
||||
|
||||
// Auto-migrate all tables and types used
|
||||
func Migrate(db *gorm.DB) error {
|
||||
if err := createAccountAuthMethodType(db); err != nil {
|
||||
return other.Error("storage", "Failed to create Auth Method type", err)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue