Version 5.2.8

This commit is contained in:
Chrystian Huot 2021-08-26 15:25:56 -04:00
parent 5cebe1add8
commit 8421a81f12
9 changed files with 18 additions and 14 deletions

View file

@ -44,6 +44,10 @@ _v5.2.7_
- Fix handling of JSON datatypes on MySQL/MariaDB database backend.
- Fix listeners count.
_V5.2.8_
- Fix SQLite does not support TEXT with options.
# Version 5.1
This one is a big one... **Be sure to backup your config.json and your database.sqlite before updating.**

View file

@ -37,5 +37,5 @@
"build": "ng build --base-href ./ --configuration production",
"start": "ng serve"
},
"version": "5.2.7"
"version": "5.2.8"
}

View file

@ -14,5 +14,5 @@
"update": "node update"
},
"type": "module",
"version": "5.2.7"
"version": "5.2.8"
}

View file

@ -61,7 +61,7 @@ accessFactory.schema = {
allowNull: true,
},
systems: {
type: Sequelize.DataTypes.TEXT('long'),
type: Sequelize.DataTypes.TEXT,
allowNull: false,
get() {
const rawValue = this.getDataValue('systems');

View file

@ -57,7 +57,7 @@ apiKeyFactory.schema = {
allowNull: true,
},
systems: {
type: Sequelize.DataTypes.TEXT('long'),
type: Sequelize.DataTypes.TEXT,
allowNull: false,
get() {
const rawValue = this.getDataValue('systems');

View file

@ -56,7 +56,7 @@ callFactory.schema = {
allowNull: false,
},
frequencies: {
type: Sequelize.DataTypes.TEXT('long'),
type: Sequelize.DataTypes.TEXT,
defaultValue: '[]',
allowNull: false,
get() {
@ -81,7 +81,7 @@ callFactory.schema = {
allownull: true,
},
sources: {
type: Sequelize.DataTypes.TEXT('long'),
type: Sequelize.DataTypes.TEXT,
defaultValue: '[]',
allowNull: false,
get() {

View file

@ -45,7 +45,7 @@ configFactory.schema = {
unique: true,
},
val: {
type: Sequelize.DataTypes.TEXT('long'),
type: Sequelize.DataTypes.TEXT,
allowNull: false,
get() {
const rawValue = this.getDataValue('val');

View file

@ -53,7 +53,7 @@ downstreamFactory.schema = {
allowNull: true,
},
systems: {
type: Sequelize.DataTypes.TEXT('long'),
type: Sequelize.DataTypes.TEXT,
allowNull: false,
get() {
const rawValue = this.getDataValue('systems');

View file

@ -44,8 +44,8 @@ systemFactory.schema = {
defaultValue: false,
},
blacklists: {
type: Sequelize.DataTypes.TEXT('long'),
defaultValue: [],
type: Sequelize.DataTypes.TEXT,
defaultValue: '[]',
allowNull: false,
get() {
const rawValue = this.getDataValue('blacklists');
@ -78,8 +78,8 @@ systemFactory.schema = {
allowNull: true,
},
talkgroups: {
type: Sequelize.DataTypes.TEXT('long'),
defaultValue: [],
type: Sequelize.DataTypes.TEXT,
defaultValue: '[]',
allowNull: false,
get() {
const rawValue = this.getDataValue('talkgroups');
@ -95,8 +95,8 @@ systemFactory.schema = {
},
},
units: {
type: Sequelize.DataTypes.TEXT('long'),
defaultValue: [],
type: Sequelize.DataTypes.TEXT,
defaultValue: '[]',
allowNull: false,
get() {
const rawValue = this.getDataValue('units');