mirror of
https://github.com/umami-software/umami.git
synced 2026-02-18 19:45:35 +01:00
basic sqlite support
This commit is contained in:
parent
90345c5874
commit
f7ff90e93e
7 changed files with 205 additions and 1 deletions
|
|
@ -16,7 +16,7 @@ function getDatabase() {
|
|||
|
||||
const databaseType = getDatabase();
|
||||
|
||||
if (!databaseType || !['mysql', 'postgresql'].includes(databaseType)) {
|
||||
if (!databaseType || !['mysql', 'postgresql', 'sqlite'].includes(databaseType)) {
|
||||
throw new Error('Missing or invalid database');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue