From 71890bb695ce901c7cc15f76c16529d50139c81d Mon Sep 17 00:00:00 2001 From: Petter Machado Date: Mon, 7 Oct 2024 15:30:07 +0200 Subject: [PATCH] fix: Use DataTypes.INTEGER (#10) --- lib/db/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/db/index.ts b/lib/db/index.ts index 6c57816..ef59093 100644 --- a/lib/db/index.ts +++ b/lib/db/index.ts @@ -27,7 +27,7 @@ export const Event = _sequelize.define("Event", { allowNull: true, }, repeat: { - type: DataTypes.NUMBER, + type: DataTypes.INTEGER, allowNull: true, }, repeatPart: {