Commit Graph

36 Commits

Author SHA1 Message Date
dni ⚡
db97ef5543
reintroduce extension migration check (#1490)
* reintroduce extension migration check

* introduce checkversions again and remove extensions from dbversions table
2023-02-14 13:06:01 +01:00
dni ⚡
3276347d5d
remove all extensions from migration data at once (#1489)
* remove all extnesions from migration data at once

* nerf workflow for now

* check dbversions
2023-02-14 12:42:46 +01:00
dni ⚡
0dffb2c1a0
moving build file into tools, keep rootdir clean (#1434)
* moving build file into tools, keep rootdir clean

* formatting

* make flake happy
2023-02-01 17:19:56 +01:00
Pavol Rusnak
967ce06ca5
fix pylint C0206 (consider-using-dict-items) 2023-01-30 11:46:45 +00:00
Pavol Rusnak
9fa3e5c6cf
fix pylint W0102 (dangerous-default-value) 2023-01-30 11:46:43 +00:00
dni ⚡
5a0b217d63
TEST: LNbits as fundingsource in regtest (#1402)
* lnbits funding source

* add create_fake_user to workflow

* change quotes in workflow ymal

* not use interactive docker exec

* update tools/create_fake_admin to not use lnbits imports

* formatting

Co-authored-by: calle <93376500+callebtc@users.noreply.github.com>
2023-01-26 10:43:12 +01:00
callebtc
a1a75ddf0b change sign 2023-01-10 16:25:28 +01:00
callebtc
3f61286cad correct placement of warning 2023-01-10 16:19:56 +01:00
callebtc
64c330459b conv.py: warn if table is empty 2023-01-10 16:16:17 +01:00
Vlad Stan
fd111a3150 fix: temp test: folded column names to lowercase 2022-12-12 18:09:26 +02:00
callebtc
33eb460d5c restore 7f64f426c2 2022-12-01 12:21:25 +01:00
calle
2c562b7053 Revert "Extension: Cashu" 2022-12-01 12:21:25 +01:00
callebtc
ecec9e9596 consider bool 2022-12-01 12:21:25 +01:00
callebtc
23308fe6cf skip dbversions 2022-12-01 12:21:25 +01:00
callebtc
e12d038e22 pass migrations 2022-12-01 12:21:25 +01:00
callebtc
c79b121fd2 pass migrations 2022-12-01 12:21:25 +01:00
callebtc
074706c422 pass migrations 2022-12-01 12:21:25 +01:00
callebtc
e3510e5133 check skip 2022-12-01 12:21:25 +01:00
dni ⚡
74eece78de merge from master 2022-11-24 14:35:32 +01:00
Vlad Stan
e667d2dc19 chore: code format 2022-11-17 14:59:03 +02:00
ChuckNorrison
91be3c30b6
add missing import sys
allow to call sys module directly
2022-11-16 14:13:25 +01:00
ChuckNorrison
177446c581
fix sys is not defined 2022-11-08 01:15:54 +01:00
dni ⚡
36f54ff0c3 formatting and conftest 2022-10-05 13:04:38 +02:00
dni ⚡
ec0375b47c trying to fix tests 2022-10-05 13:04:38 +02:00
dni ⚡
d649e6a5c0
fix migrations, add documentation, hopefully fix workflow (#899)
* fix migrations, add documentation, hopefully fix workflow

* renaming to test-migration and add migration

Co-authored-by: dni <dni.khr@gmail.com>
2022-08-17 15:42:01 +02:00
Vlad Stan
63849a0894
Generalize conv.py (#849)
* feat: generalize the script for  `sqlite` to `postgres`

* fix: revert db connection params

* doc: remove manual conversion docs

* chore: fix formatting

* fix: add back instructions for `mock_data.zip`

* fix: exclude SQLite tables from migration

* fix: rename `your_extension.db` to `your_extension.sqlite3`
2022-08-09 10:45:50 +02:00
Arc
dc501d3f40
Merge pull request #677 from lnbits/SCRUB
SCRUB extension
2022-07-28 13:29:04 +01:00
callebtc
370a962528 use ours 2022-07-28 14:18:32 +02:00
Vlad Stan
c1f6845ad9 feat: update SQLite to Postgre conversion scripts 2022-07-28 15:04:14 +03:00
Tiago vasconcelos
56cac668ca add mock data and fix conv 2022-07-28 11:08:55 +01:00
Tiago vasconcelos
7f8ee461a2 stupid 2022-07-28 10:27:31 +01:00
Tiago vasconcelos
d322e6d4dc fix conv typo in scrub schema 2022-07-28 10:24:50 +01:00
Tiago vasconcelos
c340a55925 add scrub to conv 2022-07-28 10:00:53 +01:00
calle
210edde08a
Migration: Fix withdraw (#780) 2022-07-25 15:04:55 +02:00
calle
4bb184e08b
CI: DB migration with real data (#776)
* fix migration conv.py

* migrate with mock data
2022-07-25 09:13:41 +02:00
calle
ad2aad05e0
CI: Migration SQLite to PostgreSQL (#719)
* migrate all extensions
* errors if migration is missing
2022-07-17 13:11:13 +02:00