feat: extends database schema with sync and creation timestamps

This commit is contained in:
Dennis Schoepf 2025-08-24 22:31:08 +02:00
parent 13ba132159
commit 5eab19c70e
3 changed files with 9 additions and 4 deletions

View file

@ -1,10 +1,14 @@
package database
import "time"
type FeedType string
type Feed struct {
Name string
Url string
Name string
Url string
AddedAt *time.Time
LastSyncedAt *time.Time
}
func (f Feed) Insert() (int64, error) {