Skip to content

Commit

Permalink
Change migration to bigint
Browse files Browse the repository at this point in the history
fixes issue rap2hpoutre#21
  • Loading branch information
vool committed Apr 9, 2019
1 parent b1e6cd4 commit aaed277
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion migrations/2017_11_24_094130_create_stripes_table.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function up()
$table->string('account_id')->nullable();
$table->string('customer_id')->nullable();

$table->integer('user_id')->unsigned()->index();
$table->bigInteger('user_id')->unsigned()->index();
$table->foreign('user_id')->references('id')->on('users');

$table->timestamps();
Expand Down

0 comments on commit aaed277

Please sign in to comment.