mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
remove MySQL references from README
Some checks failed
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
Some checks failed
Node.js CI / build (postgresql, 18.18, 10) (push) Has been cancelled
This commit is contained in:
parent
eb3cfbfa88
commit
c9f522b24d
2 changed files with 2 additions and 10 deletions
|
|
@ -36,7 +36,7 @@ A detailed getting started guide can be found at [umami.is/docs](https://umami.i
|
|||
### Requirements
|
||||
|
||||
- A server with Node.js version 18.18 or newer
|
||||
- A database. Umami supports [MariaDB](https://www.mariadb.org/) (minimum v10.5), [MySQL](https://www.mysql.com/) (minimum v8.0) and [PostgreSQL](https://www.postgresql.org/) (minimum v12.14) databases.
|
||||
- A database. Umami supports [PostgreSQL](https://www.postgresql.org/) (minimum v12.14) databases.
|
||||
|
||||
### Get the Source Code and Install Packages
|
||||
|
||||
|
|
@ -58,7 +58,6 @@ The connection URL format:
|
|||
|
||||
```bash
|
||||
postgresql://username:mypassword@localhost:5432/mydb
|
||||
mysql://username:mypassword@localhost:3306/mydb
|
||||
```
|
||||
|
||||
### Build the Application
|
||||
|
|
@ -93,12 +92,6 @@ Alternatively, to pull just the Umami Docker image with PostgreSQL support:
|
|||
docker pull docker.umami.is/umami-software/umami:postgresql-latest
|
||||
```
|
||||
|
||||
Or with MySQL support:
|
||||
|
||||
```bash
|
||||
docker pull docker.umami.is/umami-software/umami:mysql-latest
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 🔄 Getting Updates
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
export const PRISMA = 'prisma';
|
||||
export const POSTGRESQL = 'postgresql';
|
||||
export const MYSQL = 'mysql';
|
||||
export const CLICKHOUSE = 'clickhouse';
|
||||
export const KAFKA = 'kafka';
|
||||
export const KAFKA_PRODUCER = 'kafka-producer';
|
||||
|
|
@ -31,7 +30,7 @@ export async function runQuery(queries: any) {
|
|||
|
||||
const db = getDatabaseType();
|
||||
|
||||
if (db === POSTGRESQL || db === MYSQL) {
|
||||
if (db === POSTGRESQL) {
|
||||
return queries[PRISMA]();
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue