hasTable('bbb_rooms')) { $table = $schema->getTable('bbb_rooms'); if (!$table->hasColumn('access')) { $table->addColumn('access', 'string', [ 'notnull' => true, 'default' => Room::ACCESS_PUBLIC, ]); } if (!$table->hasColumn('password')) { $table->addColumn('password', 'string', [ 'length' => 64, 'notnull' => false, ]); } return $schema; } return null; } }