summaryrefslogtreecommitdiffstats
path: root/server/migrations
diff options
context:
space:
mode:
authorJannik Schönartz2018-07-17 04:43:31 +0200
committerJannik Schönartz2018-07-17 04:43:31 +0200
commite4c4d0e3d7dc7be7ac233cd6c9b90ae92fb1a5b3 (patch)
tree0c40021f77fea9688449c9c4d6e6222a809ec3d6 /server/migrations
parent[webapp] renamed components (diff)
downloadbas-e4c4d0e3d7dc7be7ac233cd6c9b90ae92fb1a5b3.tar.gz
bas-e4c4d0e3d7dc7be7ac233cd6c9b90ae92fb1a5b3.tar.xz
bas-e4c4d0e3d7dc7be7ac233cd6c9b90ae92fb1a5b3.zip
[server] Fixed eslint errors. (Standard ESLint is used)
Diffstat (limited to 'server/migrations')
-rw-r--r--server/migrations/20180522185323-create-user.js8
-rw-r--r--server/migrations/20180715193710-create-backend.js8
2 files changed, 8 insertions, 8 deletions
diff --git a/server/migrations/20180522185323-create-user.js b/server/migrations/20180522185323-create-user.js
index 236b229..4cf23dc 100644
--- a/server/migrations/20180522185323-create-user.js
+++ b/server/migrations/20180522185323-create-user.js
@@ -1,4 +1,4 @@
-'use strict';
+'use strict'
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.createTable('users', {
@@ -20,9 +20,9 @@ module.exports = {
name: {
type: Sequelize.STRING
}
- });
+ })
},
down: (queryInterface, Sequelize) => {
- return queryInterface.dropTable('users');
+ return queryInterface.dropTable('users')
}
-}; \ No newline at end of file
+}
diff --git a/server/migrations/20180715193710-create-backend.js b/server/migrations/20180715193710-create-backend.js
index 3b1a730..e89362e 100644
--- a/server/migrations/20180715193710-create-backend.js
+++ b/server/migrations/20180715193710-create-backend.js
@@ -1,4 +1,4 @@
-'use strict';
+'use strict'
module.exports = {
up: (queryInterface, Sequelize) => {
return queryInterface.createTable('backends', {
@@ -17,9 +17,9 @@ module.exports = {
credentials: {
type: Sequelize.STRING(2048)
}
- });
+ })
},
down: (queryInterface, Sequelize) => {
- return queryInterface.dropTable('backends');
+ return queryInterface.dropTable('backends')
}
-}; \ No newline at end of file
+}