public function getTablename($name)
{
if ($this->prefix === null) {
$this->prefix = $this->app['config']->get('general/database/prefix', 'bolt_');
}
$name = str_replace('-', '_', $this->app['slugify']->slugify($name));
$tablename = sprintf('%s%s', $this->prefix, $name);
return $tablename;
}