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 handling of JSON datatypes on MySQL/MariaDB database backend.
- Fix listeners count. - Fix listeners count.
_V5.2.8_
- Fix SQLite does not support TEXT with options.
# Version 5.1 # Version 5.1
This one is a big one... **Be sure to backup your config.json and your database.sqlite before updating.** 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", "build": "ng build --base-href ./ --configuration production",
"start": "ng serve" "start": "ng serve"
}, },
"version": "5.2.7" "version": "5.2.8"
} }

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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