PartKeepr\CoreBundle\DoctrineMigrations\Version20150708120022::up PHP Method

up() public method

public up ( Doctrine\DBAL\Schema\Schema $schema )
$schema Doctrine\DBAL\Schema\Schema
    public function up(Schema $schema)
    {
        $this->performDatabaseUpgrade();
        $this->fixTree('PartCategory');
        $this->fixTree('FootprintCategory');
        $this->fixTree('StorageLocationCategory');
        $this->createRootNode('partkeepr.part.category_service');
        $this->createRootNode('partkeepr.storage_location.category_service');
        $this->createRootNode('partkeepr.footprint.category_service');
    }