refactor: make settings key-value in DB (#2766)

This commit is contained in:
Vlad Stan 2024-11-08 10:06:21 +02:00 committed by GitHub
parent aced333c0b
commit ec9ad9f940
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 122 additions and 30 deletions

View file

@ -78,6 +78,7 @@ test-migration:
HOST=0.0.0.0 \
PORT=5002 \
LNBITS_DATABASE_URL="postgres://lnbits:lnbits@localhost:5432/migration" \
LNBITS_ADMIN_UI=False \
timeout 5s poetry run lnbits --host 0.0.0.0 --port 5002 || code=$?; if [[ $code -ne 124 && $code -ne 0 ]]; then exit $code; fi
LNBITS_DATA_FOLDER="./tests/data" \
LNBITS_DATABASE_URL="postgres://lnbits:lnbits@localhost:5432/migration" \