From 9e22e180834d6196655c0d13545d7e017ec40906 Mon Sep 17 00:00:00 2001 From: Railken Date: Fri, 29 Mar 2024 16:33:54 +0100 Subject: [PATCH] update migration --- .../migrations/0000_00_00_000000_create_relations_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/0000_00_00_000000_create_relations_table.php b/database/migrations/0000_00_00_000000_create_relations_table.php index 8631b18..47327b6 100644 --- a/database/migrations/0000_00_00_000000_create_relations_table.php +++ b/database/migrations/0000_00_00_000000_create_relations_table.php @@ -13,7 +13,7 @@ class CreateRelationsTable extends Migration public function up() { Schema::create(Config::get('amethyst.relation.data.relation.table'), function (Blueprint $table) { - $table->increments('id'); + $table->id(); $table->string('key')->nullable(); $table->string('source_type'); $table->integer('source_id')->unsigned();