better way to add users

This commit is contained in:
John Bintz 2016-02-14 09:18:48 -05:00
parent d8757a3016
commit 6a3847effb
2 changed files with 1 additions and 4 deletions

View File

@ -51,5 +51,5 @@ VALUES ('john', 'password-from-create_pw', 'john@example.com');
Pipe that file into PostgreSQL: Pipe that file into PostgreSQL:
`docker exec -i chantry add_users < ./users.sql` `docker exec -i chantry chpst -u postgres psql -d chantry -a < ./users.sql`

View File

@ -1,3 +0,0 @@
#!/bin/bash
cat | chpst -u postgres:postgres psql -d chantry -a