Explorar el Código

clean code (init-serverurl migrations)

Yuki Takei hace 7 años
padre
commit
47f2bb782b
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0 5
      src/migrations/20180927102719-init-serverurl.js

+ 0 - 5
src/migrations/20180927102719-init-serverurl.js

@@ -6,11 +6,6 @@ const logger = require('@alias/logger')('growi:migrate:init-serverurl');
 const mongoose = require('mongoose');
 const config = require('@root/config/migrate');
 
-const queryToFindSiteUrl = {
-  ns: 'crowi',
-  key: 'app:siteUrl',
-};
-
 /**
  * check all values of the array are equal
  * @see https://stackoverflow.com/a/35568895