dont use uuid

This commit is contained in:
sentriz
2019-03-29 22:19:23 +00:00
parent e9c0f09d0c
commit 5607db787f
5 changed files with 25 additions and 18 deletions

View File

@@ -2,9 +2,9 @@ package model
// Album represents the albums table
type Album struct {
BaseWithUUID
Base
Artist Artist
ArtistID string
Title string
ArtistID uint
Title string `gorm:"not null;index"`
Tracks []Track
}