Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
Change migration to bigint (#22)
Browse files Browse the repository at this point in the history
fixes issue #21
  • Loading branch information
vool authored and rap2hpoutre committed Apr 12, 2019
1 parent b1e6cd4 commit 0683e8b
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 0683e8b

Please sign in to comment.