Skip to content

Commit 13ed3c1

Browse files
authored
Correct id in audit table
From int to bigint
1 parent 0379d97 commit 13ed3c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

database/migrations/audits.stub

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class CreateAuditsTable extends Migration
1414
public function up()
1515
{
1616
Schema::create('audits', function (Blueprint $table) {
17-
$table->increments('id');
17+
$table->bigIncrements('id');
1818
$table->string('user_type')->nullable();
1919
$table->unsignedBigInteger('user_id')->nullable();
2020
$table->string('event');

0 commit comments

Comments
 (0)