hasTable('bbb_rooms')) { $table = $schema->getTable('bbb_rooms'); if (!$table->hasColumn('logout_u_r_l')) { $table->addColumn('logout_u_r_l', 'string', [ 'notnull' => false, 'length' => 200 ]); } } if ($schema->hasTable('bbb_restrictions')) { $table = $schema->getTable('bbb_restrictions'); if (!$table->hasColumn('allow_logout_u_r_l')) { $table->addColumn('allow_logout_u_r_l', 'boolean', [ 'notnull' => false, 'default' => false ]); } } return $schema; } }