concatPrefix(InitiativeObjective::TABLE_NAME); $table = $this->entityManager->getConnection()->createSchemaManager()->introspectTable($objectives); if (!$table->hasColumn('priority')) { $this->addSql(sprintf( "ALTER TABLE %s ADD priority INT NOT NULL DEFAULT %d", $objectives, InitiativeObjective::PRIORITY_MIN )); } } }