Compare commits

...

1 Commits

Author SHA1 Message Date
Yorick van Pelt 0643176ed1
Run go fmt 2023-04-30 21:04:55 +02:00
3 changed files with 3 additions and 3 deletions

View File

@ -33,7 +33,7 @@ func main() {
}
if err := db.CreateAdminUser(database, "admin"); err != nil {
log.Fatalln(err)
log.Fatalln(err)
}
go rushlink.StartMetricsServer(*metricsListen, database, filestore)

View File

@ -39,7 +39,7 @@ type FileUpload struct {
PubID uuid.UUID `gorm:"uniqueIndex"`
// User ID that created this file
CreatedBy uint `gorm:"index"`
CreatedBy uint `gorm:"index"`
// FileName contains the original filename of this FileUpload.
FileName string

View File

@ -24,7 +24,7 @@ type Paste struct {
ID uint `gorm:"primaryKey"`
Type PasteType `gorm:"index"`
State PasteState `gorm:"index"`
CreatedBy uint `gorm:"index"`
CreatedBy uint `gorm:"index"`
Content []byte
Key string `gorm:"uniqueIndex"`
DeleteToken string