| Total Complexity | 2 | 
| Total Lines | 22 | 
| Duplicated Lines | 0 % | 
| Changes | 2 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php  | 
            ||
| 15 | class TablesCreateCms extends Base  | 
            ||
| 16 | { | 
            ||
| 17 | /**  | 
            ||
| 18 | * Returns the list of task names which depends on this task.  | 
            ||
| 19 | *  | 
            ||
| 20 | * @return string[] List of task names  | 
            ||
| 21 | */  | 
            ||
| 22 | public function before() : array  | 
            ||
| 25 | }  | 
            ||
| 26 | |||
| 27 | |||
| 28 | /**  | 
            ||
| 29 | * Creates the CMS tables  | 
            ||
| 30 | */  | 
            ||
| 31 | public function up()  | 
            ||
| 32 | 	{ | 
            ||
| 33 | $this->info( 'Creating CMS tables', 'v' );  | 
            ||
| 34 | $db = $this->db( 'db-cms' );  | 
            ||
| 35 | |||
| 36 | foreach( $this->paths( 'default/schema/cms.php' ) as $filepath )  | 
            ||
| 37 | 		{ | 
            ||
| 48 |