Adjust for postgresql

This commit is contained in:
Jonas Lochmann
2021-01-25 01:00:00 +01:00
parent 99762d5d36
commit 964397cfa9
6 changed files with 114 additions and 45 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
/*
* server component for the TimeLimit App
* Copyright (C) 2019 - 2020 Jonas Lochmann
* Copyright (C) 2019 - 2021 Jonas Lochmann
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
@@ -61,7 +61,7 @@ export const attributesVersion1: SequelizeAttributes<TimelimitRuleAttributesVers
categoryId: { ...idWithinFamilyColumn },
applyToExtraTimeUsage: { ...booleanColumn },
dayMaskAsBitmask: {
type: Sequelize.TINYINT,
type: Sequelize.SMALLINT,
allowNull: false,
validate: {
min: 0,