Updated article loader and added test entry to database
This commit is contained in:
13
database/schema.go
Normal file
13
database/schema.go
Normal file
@@ -0,0 +1,13 @@
|
||||
package database
|
||||
|
||||
type Article struct {
|
||||
Id int `gorm:"primaryKey"`
|
||||
Title string
|
||||
Summary string
|
||||
Image string
|
||||
Created int64
|
||||
Modified int64
|
||||
Link string
|
||||
Markdown string
|
||||
Html string
|
||||
}
|
||||
Reference in New Issue
Block a user