From cc2ff2b2a279a9cf0927f96d2f17844645f0d12e Mon Sep 17 00:00:00 2001 From: Jonny Barnes Date: Sun, 1 Nov 2026 15:29:05 +0000 Subject: [PATCH] Drop the unused notes.shorturl column The short domain is gone and nothing reads or writes this column any more. Refs #148 Co-Authored-By: Claude Opus 5.5 --- ..._120000_drop_shorturl_from_notes_table.php | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 database/migrations/2026_11_01_120000_drop_shorturl_from_notes_table.php diff --git a/database/migrations/2026_11_01_120000_drop_shorturl_from_notes_table.php b/database/migrations/2026_11_01_120000_drop_shorturl_from_notes_table.php new file mode 100644 index 00000000..e4f73202 --- /dev/null +++ b/database/migrations/2026_11_01_120000_drop_shorturl_from_notes_table.php @@ -0,0 +1,28 @@ +dropColumn('shorturl'); + }); + } + + /** + * Reverse the migrations. + */ + public function down(): void + { + Schema::table('notes', function (Blueprint $table) { + $table->string('shorturl', 20)->nullable(); + }); + } +};