Skip to content

Commit 9b75121

Browse files
committed
Fix id column in migration
1 parent f8c6da7 commit 9b75121

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/migrations/2014_12_01_120000_create_phpdebugbar_storage_table.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ class CreatePhpdebugbarStorageTable extends Migration
1313
public function up()
1414
{
1515
Schema::create('phpdebugbar', function (Blueprint $table) {
16-
$table->increments('id');
17-
16+
$table->string('id');
1817
$table->text('data');
1918
$table->string('meta_utime');
2019
$table->dateTime('meta_datetime');
2120
$table->string('meta_uri');
2221
$table->string('meta_ip');
2322
$table->string('meta_method');
2423

24+
$table->primary('id');
2525
$table->index('meta_utime');
2626
$table->index('meta_datetime');
2727
$table->index('meta_uri');

0 commit comments

Comments
 (0)