Add collect limits.

This commit is contained in:
Brian Cao 2022-12-31 13:42:03 -08:00
parent f42cab8d83
commit e487da72c3
13 changed files with 217 additions and 61 deletions

View file

@ -1,7 +1,7 @@
import prisma from '@umami/prisma-client';
import moment from 'moment-timezone';
import { MYSQL, POSTGRESQL, getDatabaseType } from 'lib/db';
import { FILTER_IGNORED } from 'lib/constants';
import { getDatabaseType, MYSQL, POSTGRESQL } from 'lib/db';
import moment from 'moment-timezone';
const MYSQL_DATE_FORMATS = {
minute: '%Y-%m-%d %H:%i:00',