getTable('talk_rooms'); if (!$table->hasColumn('last_pinned_id')) { $table->addColumn('last_pinned_id', Types::BIGINT, [ 'notnull' => false, 'default' => 0, ]); } $table = $schema->getTable('talk_attendees'); if (!$table->hasColumn('hidden_pinned_id')) { $table->addColumn('hidden_pinned_id', Types::BIGINT, [ 'notnull' => false, 'default' => 0, ]); } return $schema; } }