Skip to content

Commit

Permalink
update migration
Browse files Browse the repository at this point in the history
  • Loading branch information
railken committed Mar 29, 2024
1 parent 5fab977 commit 9e22e18
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 9e22e18

Please sign in to comment.