diff --git a/src/Trend.php b/src/Trend.php index eeb414b..7aeb3da 100755 --- a/src/Trend.php +++ b/src/Trend.php @@ -166,7 +166,7 @@ protected function getDatePeriod(): Collection protected function getSqlDate(): string { $adapter = match ($this->builder->getConnection()->getDriverName()) { - 'mysql' => new MySqlAdapter(), + 'mysql', 'mariadb' => new MySqlAdapter(), 'sqlite' => new SqliteAdapter(), 'pgsql' => new PgsqlAdapter(), default => throw new Error('Unsupported database driver.'),