From 8d1e3f99946d06588d9aca682c1ce85ce4b32e16 Mon Sep 17 00:00:00 2001 From: Udo Walter Date: Fri, 15 Mar 2019 16:41:13 +0000 Subject: [server/log] sql JSON to TEXT for mariadb compatibility --- server/migrations/20190304043012-create-log.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/migrations') diff --git a/server/migrations/20190304043012-create-log.js b/server/migrations/20190304043012-create-log.js index a7f9c25..6ffff4c 100644 --- a/server/migrations/20190304043012-create-log.js +++ b/server/migrations/20190304043012-create-log.js @@ -15,7 +15,7 @@ module.exports = { type: Sequelize.STRING }, description: { - type: Sequelize.STRING(2048) + type: Sequelize.TEXT }, groupId: { type: Sequelize.INTEGER, @@ -26,7 +26,7 @@ module.exports = { } }, groupSnapshot: { - type: Sequelize.JSON + type: Sequelize.TEXT }, clientId: { type: Sequelize.INTEGER, @@ -37,7 +37,7 @@ module.exports = { } }, clientSnapshot: { - type: Sequelize.JSON + type: Sequelize.TEXT }, userId: { type: Sequelize.INTEGER, @@ -48,7 +48,7 @@ module.exports = { } }, userSnapshot: { - type: Sequelize.JSON + type: Sequelize.TEXT } }) }, -- cgit v1.2.3-55-g7522