mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 07:34:42 -04:00
Use JavaScript Standard Style
Introduce JavaScript Standard Style as project style rule, and fixed all fail on backend code.
This commit is contained in:
parent
8f1c97f4a4
commit
4889e9732d
21 changed files with 3723 additions and 3784 deletions
|
@ -1,15 +1,11 @@
|
|||
"use strict";
|
||||
|
||||
module.exports = {
|
||||
up: function (queryInterface, Sequelize) {
|
||||
queryInterface.addColumn('Users', 'accessToken', Sequelize.STRING);
|
||||
queryInterface.addColumn('Users', 'refreshToken', Sequelize.STRING);
|
||||
return;
|
||||
},
|
||||
up: function (queryInterface, Sequelize) {
|
||||
queryInterface.addColumn('Users', 'accessToken', Sequelize.STRING)
|
||||
queryInterface.addColumn('Users', 'refreshToken', Sequelize.STRING)
|
||||
},
|
||||
|
||||
down: function (queryInterface, Sequelize) {
|
||||
queryInterface.removeColumn('Users', 'accessToken');
|
||||
queryInterface.removeColumn('Users', 'refreshToken');
|
||||
return;
|
||||
}
|
||||
};
|
||||
down: function (queryInterface, Sequelize) {
|
||||
queryInterface.removeColumn('Users', 'accessToken')
|
||||
queryInterface.removeColumn('Users', 'refreshToken')
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue