public function getInstalledTables()
    {
        if ($this->installedTables !== null) {
            return $this->installedTables;
        }

        /** @var $tables \Doctrine\DBAL\Schema\Table[] */
        $tables = $this->connection->getSchemaManager()->listTables();
        foreach ($tables as $table) {
            $alias = str_replace($this->app['schema.prefix'], '', $table->getName());
            $this->installedTables[$alias] = $table;
        }

        return $this->installedTables;
    }