summaryrefslogtreecommitdiffstats
path: root/server/migrations
diff options
context:
space:
mode:
authorUdo Walter2019-03-15 17:41:13 +0100
committerUdo Walter2019-03-15 17:41:13 +0100
commit8d1e3f99946d06588d9aca682c1ce85ce4b32e16 (patch)
tree73b735c783731a78afd2d82fbe83fe2121c0b666 /server/migrations
parent[server/registration] Add log to the first registration. (diff)
downloadbas-8d1e3f99946d06588d9aca682c1ce85ce4b32e16.tar.gz
bas-8d1e3f99946d06588d9aca682c1ce85ce4b32e16.tar.xz
bas-8d1e3f99946d06588d9aca682c1ce85ce4b32e16.zip
[server/log] sql JSON to TEXT for mariadb compatibility
Diffstat (limited to 'server/migrations')
-rw-r--r--server/migrations/20190304043012-create-log.js8
1 files changed, 4 insertions, 4 deletions
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
}
})
},