Implement rough architecture
This commit is contained in:
14
backend/database/models/journal.go
Normal file
14
backend/database/models/journal.go
Normal file
@ -0,0 +1,14 @@
|
||||
package models
|
||||
|
||||
import (
|
||||
"gorm.io/datatypes"
|
||||
)
|
||||
|
||||
type Journal struct {
|
||||
Date datatypes.Date `gorm:"primaryKey"`
|
||||
Thankful datatypes.JSON
|
||||
LookingForward datatypes.JSON
|
||||
BeenGreat datatypes.JSON
|
||||
DoBetter datatypes.JSON
|
||||
Journal string
|
||||
}
|
||||
Reference in New Issue
Block a user