Files
development/4dev/database/bin/import_data.sh
Clemens Schwaighofer 3aaa9b3f0d Remove old SVN $id$, add edit_access_data table
edit_access_data table can hold name/value pairs for additional info in
the access group
2016-07-15 10:13:29 +09:00

24 lines
338 B
Bash
Executable File

#!/bin/bash
# quick hack for import
#echo "EXIT";
#exit;
db='gullevek';
host='db.tokyo.tequila.jp';
user='gullevek';
#schema="publicv";
for file in `cat ORDER`;
do
if [ -f $file ];
then
# for path in $schema;
# do
# echo "WORK ON "$schema"."$file;
psql -U $user -h $host -f $file $db 1>> output 2>> error
# done;
fi;
done;