From 4076b138b9cf57f0cf536139fc36b399770768a5 Mon Sep 17 00:00:00 2001 From: James Collins Date: Sat, 6 May 2023 18:23:24 +1000 Subject: [PATCH] wrong schema --- .../migrations/2023_05_06_080418_create_shortlinks_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2023_05_06_080418_create_shortlinks_table.php b/database/migrations/2023_05_06_080418_create_shortlinks_table.php index 82612dc..3220cb9 100644 --- a/database/migrations/2023_05_06_080418_create_shortlinks_table.php +++ b/database/migrations/2023_05_06_080418_create_shortlinks_table.php @@ -13,7 +13,7 @@ return new class extends Migration */ public function up() { - Schema::table('shortlinks', function (Blueprint $table) { + Schema::create('shortlinks', function (Blueprint $table) { $table->id(); $table->string('code', 4)->unique(); $table->string('url');