src/Driver/SQLite/SQLiteHandler.php
private function requiresRebuild(AbstractTable $table): bool
    {
        $comparator = $table->getComparator();

        $difference = [
            count($comparator->addedColumns()),
            count($comparator->droppedColumns()),
            count($comparator->alteredColumns()),

            count($comparator->addedForeignKeys()),
            count($comparator->droppedForeignKeys()),
            count($comparator->alteredForeignKeys()),
        ];

        return array_sum($difference) != 0;
    }
private function requiresRebuild(AbstractTable $table): bool
    {
        $comparator = $table->getComparator();

        $difference = [
            count($comparator->addedColumns()),
            count($comparator->droppedColumns()),
            count($comparator->alteredColumns()),

            count($comparator->addedForeignKeys()),
            count($comparator->droppedForeignKeys()),
            count($comparator->alteredForeignKeys()),
        ];

        return array_sum($difference) != 0;
    }
private function requiresRebuild ( AbstractTable $ table ) : bool { $ comparator = $ table -> getComparator ( ) ; $ difference = [ count ( $ comparator -> addedColumns ( ) ) , count ( $ comparator -> droppedColumns ( ) ) , count ( $ comparator -> alteredColumns ( ) ) , count ( $ comparator -> addedForeignKeys ( ) ) , count ( $ comparator -> droppedForeignKeys ( ) ) , count ( $ comparator -> alteredForeignKeys ( ) ) , ] ; return array_sum ( $ difference ) != 0 ; }
Rebuild is required when columns or foreign keys are altered.

@param AbstractTable $table
@return bool
Rebuild is required when columns or foreign keys are altered .