mirror of
https://github.com/kremalicious/umami.git
synced 2024-12-24 18:26:20 +01:00
update mysql min versino to 5.7
This commit is contained in:
parent
939f4752bb
commit
e8ca23c390
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user