wrong schema

This commit is contained in:
2023-05-06 18:23:24 +10:00
parent 93951cfbc8
commit 4076b138b9

View File

@@ -13,7 +13,7 @@ return new class extends Migration
*/ */
public function up() public function up()
{ {
Schema::table('shortlinks', function (Blueprint $table) { Schema::create('shortlinks', function (Blueprint $table) {
$table->id(); $table->id();
$table->string('code', 4)->unique(); $table->string('code', 4)->unique();
$table->string('url'); $table->string('url');