mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-20 07:48:06 +02:00
update
This commit is contained in:
parent
e6b1d2755f
commit
f678951893
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue