Use uri for permalinks, fix Micropub Location header, and drop notes.shorturl #149
1 changed files with 28 additions and 0 deletions
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 <noreply@anthropic.com>
commit
cc2ff2b2a2
|
|
@ -0,0 +1,28 @@
|
|||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
/**
|
||||
* Run the migrations.
|
||||
*/
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('notes', function (Blueprint $table) {
|
||||
$table->dropColumn('shorturl');
|
||||
});
|
||||
}
|
||||
|
||||
/**
|
||||
* Reverse the migrations.
|
||||
*/
|
||||
public function down(): void
|
||||
{
|
||||
Schema::table('notes', function (Blueprint $table) {
|
||||
$table->string('shorturl', 20)->nullable();
|
||||
});
|
||||
}
|
||||
};
|
||||
Loading…
Reference in a new issue