Initial Commit
linter / quality (push) Canceled after 0s
tests / ci (8.3) (push) Canceled after 0s
tests / ci (8.4) (push) Canceled after 0s
tests / ci (8.5) (push) Canceled after 0s

This commit is contained in:
2026-08-29 00:17:41 +10:00
parent 37ff8e0a88
commit b2f2d8b104
13 changed files with 378 additions and 35 deletions
@@ -0,0 +1,24 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('dm_messages', function (Blueprint $table) {
// IMAGES messages can carry multiple photos in one message, so a
// single media_url column doesn't fit — store the full list.
$table->jsonb('attachments')->nullable();
});
}
public function down(): void
{
Schema::table('dm_messages', function (Blueprint $table) {
$table->dropColumn('attachments');
});
}
};