Skip to content

Commit 7d25f5e

Browse files
authored
Use bigIncrements for primary key
1 parent ef2c779 commit 7d25f5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

database/migrations/create_mailbox_inbound_emails_table.php.stub

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class CreateMailboxInboundEmailsTable extends Migration
1212
public function up()
1313
{
1414
Schema::create('mailbox_inbound_emails', function (Blueprint $table) {
15-
$table->increments('id');
15+
$table->bigIncrements('id');
1616
$table->string('message_id');
1717
$table->longText('message');
1818
$table->nullableTimestamps();
@@ -25,4 +25,4 @@ class CreateMailboxInboundEmailsTable extends Migration
2525
{
2626
Schema::dropIfExists('mailbox_inbound_emails');
2727
}
28-
}
28+
}

0 commit comments

Comments
 (0)