7 lines
191 B
Bash
Executable File
7 lines
191 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
for sqlInsert in /data/sql-pages-inserts/*.sql; do
|
|
echo "${sqlInsert}"
|
|
time psql --username="${DATABASE_USER}" --dbname="${DATABASE_NAME}" --file="${sqlInsert}"
|
|
done
|