save session key

This commit is contained in:
sentriz
2019-04-18 11:22:04 +01:00
parent e8424ca571
commit c6273c8c12
3 changed files with 37 additions and 24 deletions

View File

@@ -51,9 +51,10 @@ type Cover struct {
// User represents the users table
type User struct {
Base
Name string `gorm:"not null;unique_index"`
Password string
IsAdmin bool
Name string `gorm:"not null;unique_index"`
Password string
LastFMSession string
IsAdmin bool
}
// Setting represents the settings table