concatPrefix('initiative_objectives'); $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, 1 )); } } }