Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

update mysql min versino to 5.7

Francis Caoe8ca23c3900c
diff --git a/scripts/check-db.js b/scripts/check-db.js
index f4913e5dd..080453908 100644
--- a/scripts/check-db.js
+++ b/scripts/check-db.js
@@ -53,7 +53,7 @@ async function checkDatabaseVersion(databaseType) {
const query = await prisma.$queryRaw`select version() version`;
const version = semver.valid(semver.coerce(query[0].version));
- const minVersion = databaseType === 'postgresql' ? '9.4.0' : '5.6.0';
+ const minVersion = databaseType === 'postgresql' ? '9.4.0' : '5.7.0';
if (semver.lt(version, minVersion)) {
throw new Error(