refactor: remove databases from code an use schemas instead

All databases are now saved together in the same LNBITS_DATA_FOLDER.
Extensions have to define a schema.yml file for creating the necessary database.
This commit is contained in:
Eneko Illarramendi 2020-02-10 13:29:20 +01:00
parent e3fd6b4ff1
commit 0d33bc2933
14 changed files with 153 additions and 125 deletions

3
.gitignore vendored
View file

@ -22,6 +22,5 @@ Pipfile.lock
.env
venv
database.sqlite3
database.sqlite3*
*.sqlite3
.pyre*