mirror of
https://github.com/yanislav-igonin/micrach
synced 2024-12-22 22:32:33 +03:00
fix: disable files in seeds
This commit is contained in:
parent
4398698ee0
commit
37d3be774b
@ -52,10 +52,12 @@ func getPost(id int, pid *int) Post {
|
|||||||
Title: randSeq(rand.Intn(100)),
|
Title: randSeq(rand.Intn(100)),
|
||||||
Text: randSeq(rand.Intn(100)),
|
Text: randSeq(rand.Intn(100)),
|
||||||
IsSage: false,
|
IsSage: false,
|
||||||
Files: []File{
|
// Maybe somewhen else I'll add url field for files
|
||||||
getFile(2, id, "https://memepedia.ru/wp-content/uploads/2018/03/ebanyy-rot-etogo-kazino.png"),
|
// Files: []File{
|
||||||
getFile(1, id, "https://memepedia.ru/wp-content/uploads/2018/03/ebanyy-rot-etogo-kazino.png"),
|
// getFile(2, id, "https://memepedia.ru/wp-content/uploads/2018/03/ebanyy-rot-etogo-kazino.png"),
|
||||||
},
|
// getFile(1, id, "https://memepedia.ru/wp-content/uploads/2018/03/ebanyy-rot-etogo-kazino.png"),
|
||||||
|
// },
|
||||||
|
Files: []File{},
|
||||||
CreatedAt: time.Now(),
|
CreatedAt: time.Now(),
|
||||||
UpdatedAt: time.Now(),
|
UpdatedAt: time.Now(),
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user