From faf1188d03e1302dd615a118bce73dd6197be8f1 Mon Sep 17 00:00:00 2001 From: Udo Walter Date: Wed, 1 Aug 2018 20:17:33 +0000 Subject: [groups] add edit functionality to group infos --- server/migrations/20180717132233-create-group.js | 2 +- server/migrations/20180717132333-create-client.js | 2 +- server/migrations/20180717202333-create-group_x_group.js | 4 ++-- server/migrations/20180717202533-create-group_x_client.js | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) (limited to 'server/migrations') diff --git a/server/migrations/20180717132233-create-group.js b/server/migrations/20180717132233-create-group.js index 71258dd..49088dd 100644 --- a/server/migrations/20180717132233-create-group.js +++ b/server/migrations/20180717132233-create-group.js @@ -12,7 +12,7 @@ module.exports = { type: Sequelize.STRING }, description: { - type: Sequelize.STRING + type: Sequelize.STRING(2048) } }) }, diff --git a/server/migrations/20180717132333-create-client.js b/server/migrations/20180717132333-create-client.js index 955f2f9..d374b22 100644 --- a/server/migrations/20180717132333-create-client.js +++ b/server/migrations/20180717132333-create-client.js @@ -12,7 +12,7 @@ module.exports = { type: Sequelize.STRING }, description: { - type: Sequelize.STRING + type: Sequelize.STRING(2048) }, ip: { type: Sequelize.STRING diff --git a/server/migrations/20180717202333-create-group_x_group.js b/server/migrations/20180717202333-create-group_x_group.js index a40278d..298c2fb 100644 --- a/server/migrations/20180717202333-create-group_x_group.js +++ b/server/migrations/20180717202333-create-group_x_group.js @@ -6,7 +6,7 @@ module.exports = { primaryKey: true, allowNull: false, type: Sequelize.INTEGER, - onDelete: "cascade", + onDelete: 'cascade', references: { model: 'groups', key: 'id' @@ -16,7 +16,7 @@ module.exports = { primaryKey: true, allowNull: false, type: Sequelize.INTEGER, - onDelete: "cascade", + onDelete: 'cascade', references: { model: 'groups', key: 'id' diff --git a/server/migrations/20180717202533-create-group_x_client.js b/server/migrations/20180717202533-create-group_x_client.js index 2330cdb..7564618 100644 --- a/server/migrations/20180717202533-create-group_x_client.js +++ b/server/migrations/20180717202533-create-group_x_client.js @@ -6,7 +6,7 @@ module.exports = { primaryKey: true, allowNull: false, type: Sequelize.INTEGER, - onDelete: "cascade", + onDelete: 'cascade', references: { model: 'groups', key: 'id' @@ -16,7 +16,7 @@ module.exports = { primaryKey: true, allowNull: false, type: Sequelize.INTEGER, - onDelete: "cascade", + onDelete: 'cascade', references: { model: 'clients', key: 'id' -- cgit v1.2.3-55-g7522