Changed from editors to roles in the setup script

pull/437/head
Christopher Usher 3 weeks ago committed by Mike Lang
parent 853a8f0ff4
commit 7f46b56ed4

@ -51,10 +51,10 @@ if [ -a /mnt/wubloader/nodes.csv ]; then
EOF EOF
fi fi
if [ -a /mnt/wubloader/editors.csv ]; then if [ -a /mnt/wubloader/roles.csv ]; then
echo "Loading editors from editors.csv" echo "Loading roles from roles.csv"
sql "$POSTGRES_USER" -d "$POSTGRES_DB" <<-EOF sql "$POSTGRES_USER" -d "$POSTGRES_DB" <<-EOF
COPY editors FROM '/mnt/wubloader/editors.csv' DELIMITER ',' CSV HEADER; COPY roles FROM '/mnt/wubloader/roles.csv' DELIMITER ',' CSV HEADER;
EOF EOF
fi fi

Loading…
Cancel
Save