public function addTable(AbstractTable $table)
    {
        $this->tables[$table->getName()] = $table;
        $this->dependencies[$table->getName()] = $table->getDependencies();

        $this->collectDrivers();
    }