repos / pico

pico services - prose.sh, pastes.sh, imgs.sh, feeds.sh, pgs.sh
git clone https://github.com/picosh/pico.git

commit
403635e
parent
2abdb12
author
Eric Bower
date
2022-07-28 14:35:58 +0000 UTC
fix: more log statements
1 files changed,  +3, -0
M cmd/migrate/migrate.go
+3, -0
 1@@ -137,16 +137,19 @@ func main() {
 2 	}
 3 	defer rollback()
 4 
 5+	logger.Info("Finding prose users")
 6 	proseUsers, err := proseDb.FindUsers()
 7 	if err != nil {
 8 		panic(err)
 9 	}
10 
11+	logger.Info("Finding lists users")
12 	listUsers, err := listsDb.FindUsers()
13 	if err != nil {
14 		panic(err)
15 	}
16 
17+	logger.Info("Adding prose users and public keys to PICO db")
18 	userMap := map[string]*db.User{}
19 	for _, proseUser := range proseUsers {
20 		userMap[proseUser.Name] = proseUser