summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Reichel <sre@ring0.de>2019-04-02 23:02:39 +0200
committerSebastian Reichel <sre@ring0.de>2019-04-02 23:02:39 +0200
commit2714fc190f01894eaaa64bf3869a4a4269ab1dcf (patch)
treee615f5622b5455f1a46c7dcfa8c92ef47cd26fab
parentad0e5a7ae756a7a63cff5b0a4a77d3b50e9c1fde (diff)
downloadserial-barcode-scanner-2714fc190f01894eaaa64bf3869a4a4269ab1dcf.tar.bz2
update query.sh
-rwxr-xr-xgeneration/query.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/generation/query.sh b/generation/query.sh
index 957fb62..67accaf 100755
--- a/generation/query.sh
+++ b/generation/query.sh
@@ -1 +1 @@
-sqlite3 ../shop.db "SELECT id,firstname,lastname FROM users LEFT JOIN authentication ON users.id = authentication.user WHERE (disabled IS NULL or disabled != 1) and id > 0" | sed "s~|~,~g" > users.csv
+sqlite3 shop.db "SELECT id,firstname,lastname FROM users LEFT JOIN authentication ON users.id = authentication.user WHERE (users.disabled IS NULL or users.disabled != 1) and id > 0" | sed "s~|~,~g" > users.csv