more determinism

trunk
vilmibm 2023-02-23 07:31:38 +00:00
parent 7543c2c4cd
commit c1f041e9d8
1 changed files with 2 additions and 1 deletions

View File

@ -100,7 +100,8 @@ func (s *TownSignup) RefreshNotes(db *sql.DB) error {
stmt, err := db.Prepare(` stmt, err := db.Prepare(`
SELECT created, author, content SELECT created, author, content
FROM notes FROM notes
WHERE signupid = ?`) WHERE signupid = ?
ORDER BY created ASC`)
if err != nil { if err != nil {
return err return err
} }