Schema::table($this->prefix . 'message', static function (Blueprint $table) {
18
$table->bigInteger('sender_chat_id')->comment('Sender of the message, sent on behalf of a chat')->after('chat_id');
19
$table->text('proximity_alert_triggered')->nullable()->comment('Service message. A user in the chat triggered another user\'s proximity alert while sharing Live Location.')->after('passport_data');
20
});
21
} catch (Throwable $e) {
22
Log::error($e->getMessage());
23
return; // Migration may be partly done already...
24
}
25
}
26
27
public function down(): void
28
{
29
try {
30
Schema::table($this->prefix . 'message', static function (Blueprint $table) {