1
0
Fork 0
mirror of https://github.com/docker/awesome-compose.git synced 2025-04-20 07:48:06 +02:00
This commit is contained in:
Kazuyuki Ono 2023-03-14 02:40:43 +00:00
parent e6b1d2755f
commit f678951893
2 changed files with 2 additions and 1 deletions

View file

@ -79,8 +79,9 @@ func prepare() error {
return err
}
for i := 0; i < 5; i++ {
for i := 0; i < 10; i++ {
if _, err := db.Exec("INSERT INTO blog (title) VALUES (?);", fmt.Sprintf("Blog post #%d", i)); err != nil {
log.Print(fmt.Sprintf("Blog post #%d", i))
return err
}
}