summaryrefslogtreecommitdiffstats
path: root/server/migrations/20180717202533-create-group_x_client.js
diff options
context:
space:
mode:
authorUdo Walter2018-08-01 22:17:33 +0200
committerUdo Walter2018-08-01 22:17:33 +0200
commitfaf1188d03e1302dd615a118bce73dd6197be8f1 (patch)
tree207d484a6d68f3d77bc49815ea92c13f4da057c3 /server/migrations/20180717202533-create-group_x_client.js
parent[server/idoit] iDoIT api call returns now the object itself and the childs. (diff)
downloadbas-faf1188d03e1302dd615a118bce73dd6197be8f1.tar.gz
bas-faf1188d03e1302dd615a118bce73dd6197be8f1.tar.xz
bas-faf1188d03e1302dd615a118bce73dd6197be8f1.zip
[groups] add edit functionality to group infos
Diffstat (limited to 'server/migrations/20180717202533-create-group_x_client.js')
-rw-r--r--server/migrations/20180717202533-create-group_x_client.js4
1 files changed, 2 insertions, 2 deletions
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'