author is now on separate table

This commit is contained in:
2025-11-24 23:55:41 +01:00
parent fa49f276fe
commit 3cbe9f909e
9 changed files with 166 additions and 54 deletions

9
internal/model/author.go Normal file
View File

@@ -0,0 +1,9 @@
package model
import "gorm.io/gorm"
type Author struct {
gorm.Model
Name string
Description string
}