public function getTableSchemas($database = 'base')
    {
        $driver = $this->getDatabase($database)->getDriver();
        $connection = $this->establishConnection($database, Database::TARGET_SLAVE);
        $names = $driver->getTableNames($connection);

        $schemas = [];
        foreach ($names as $name) {
            $schemas[] = $this->getTableSchema($name, $database);
        }

        return $schemas;
    }