From 523dc424db3477f9c903b156e875774a869b4877 Mon Sep 17 00:00:00 2001 From: Victor Winberg Date: Mon, 19 Aug 2024 08:41:43 +0200 Subject: [PATCH] camera id to database --- client/src/components/QRScanner.vue | 30 ++++++------------- client/src/components/UserSettings.vue | 35 +++++++++++++++++++--- client/src/locales/en.json | 1 + client/src/locales/sv.json | 1 + server/migrations/20240819-user-camera.sql | 2 ++ server/schema.sql | 1 + server/src/user/user-model.js | 4 +-- 7 files changed, 47 insertions(+), 27 deletions(-) create mode 100644 server/migrations/20240819-user-camera.sql diff --git a/client/src/components/QRScanner.vue b/client/src/components/QRScanner.vue index 94fa814a..00d01484 100644 --- a/client/src/components/QRScanner.vue +++ b/client/src/components/QRScanner.vue @@ -1,7 +1,7 @@