From 2b4c9363d3bee65cbf4a89bb0f4112eb3e1c9382 Mon Sep 17 00:00:00 2001 From: Dan O'Neill Date: Mon, 25 Dec 2023 16:05:24 -0800 Subject: [PATCH] add created at column --- data/models.go | 1 + 1 file changed, 1 insertion(+) diff --git a/data/models.go b/data/models.go index 5321aeb..597a8a3 100644 --- a/data/models.go +++ b/data/models.go @@ -15,6 +15,7 @@ type Event struct { RemoteID string `json:"remote_id" gorm:"column:remote_id"` ProfileID int `json:"profile_id" gorm:"column:profile_id"` Title string `json:"title" gorm:"column:title"` + CreatedAt int64 `json:"created_at" gorm:"created_at"` } type User_Profile struct {