From 7f46b56ed4c41ae73d13163614ee549c8c8971bb Mon Sep 17 00:00:00 2001 From: Christopher Usher Date: Thu, 31 Oct 2024 19:05:59 -0700 Subject: [PATCH] Changed from editors to roles in the setup script --- postgres/setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/postgres/setup.sh b/postgres/setup.sh index 86eafb6..1454450 100644 --- a/postgres/setup.sh +++ b/postgres/setup.sh @@ -51,10 +51,10 @@ if [ -a /mnt/wubloader/nodes.csv ]; then EOF fi -if [ -a /mnt/wubloader/editors.csv ]; then - echo "Loading editors from editors.csv" +if [ -a /mnt/wubloader/roles.csv ]; then + echo "Loading roles from roles.csv" 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 fi