This repository has been archived on 2026-03-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
api/database/schemas.go
2022-12-24 00:45:54 +01:00

30 lines
381 B
Go

package database
import (
"time"
"gorm.io/gorm"
)
type Quote struct {
gorm.Model
ID string `gorm:"primaryKey"`
date time.Time
tags []string
}
type QuoteLine struct {
gorm.Model
author string
content string
}
type Image struct {
gorm.Model
id string
title string
description string
date time.Time
place string
link string
}