Esempio n. 1
0
 /**
  * Get migration path for specific module.
  *
  * @param  \YCMS\Modules\Module $module
  * @return string
  */
 protected function getPath($module)
 {
     $path = $module->getExtraPath(config('modules.paths.generator.migration'));
     return str_replace(base_path(), '', $path);
 }
Esempio n. 2
0
 /**
  * Get migration path.
  *
  * @return string
  */
 public function getPath()
 {
     return $this->module->getExtraPath(config('modules.paths.generator.migration'));
 }