public function createMigration($config, $section, $table, $splitTable, $command)
    {
        try {
            if (!empty($section)) {
                $migrationName = 'create_'.str_plural(strtolower(implode('_', $splitTable))).'_table';
                $tableName = str_plural(strtolower(implode('_', $splitTable)));
            } else {
                $migrationName = 'create_'.str_plural(strtolower(snake_case($table))).'_table';
                $tableName = str_plural(strtolower(snake_case($table)));
            }

            $command->callSilent('make:migration', [
                'name' => $migrationName,
                '--table' => $tableName,
                '--create' => true,
                '--path' => $this->getMigrationsPath($config, true),
            ]);

            return true;
        } catch (Exception $e) {
            throw new Exception('Could not create the migration: '.$e->getMessage(), 1);
        }
    }