repos / pico

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

commit
30c26ef
parent
5a1dbf9
author
Eric Bower
date
2022-07-28 04:37:40 +0000 UTC
fix: rm delete null users
1 files changed,  +0, -6
M cmd/migrate/migrate.go
+0, -6
 1@@ -98,12 +98,6 @@ func main() {
 2 	}
 3 	defer rollback()
 4 
 5-	logger.Info("delete users where name is null")
 6-	_, err = tx.Exec("DELETE FROM app_users WHERE name IS NULL")
 7-	if err != nil {
 8-		panic(err)
 9-	}
10-
11 	proseUsers, err := proseDb.FindUsers()
12 	if err != nil {
13 		panic(err)