Mercurial Hosting > luan
diff src/luan/host/init.luan @ 1394:8fe777ba5045
change postgres password
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Sun, 08 Sep 2019 22:13:08 -0600 |
parents | cc0dbca576dc |
children | 1979cff9aad2 |
line wrap: on
line diff
--- a/src/luan/host/init.luan Fri Sep 06 05:09:56 2019 -0600 +++ b/src/luan/host/init.luan Sun Sep 08 22:13:08 2019 -0600 @@ -89,7 +89,7 @@ } local db = database(pg) local exists = db.query("select datname from pg_database where datname=?",domain)() ~= nil; - logger.info("exists "..exists) + --logger.info("exists "..exists) if not exists then db.update( [[create user "]]..spec.user..[[" with encrypted password ']]..spec.password..[[']] ) db.update( [[create database "]]..domain..[[" owner "]]..spec.user..[["]] )