Skip to content

Commit

Permalink
changed user_id column on tokens table
Browse files Browse the repository at this point in the history
  • Loading branch information
mayoz committed Feb 24, 2018
1 parent c22bba0 commit 941ce78
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function up()
{
Schema::create('tokens', function (Blueprint $table) {
$table->bigIncrements('id');
$table->integer('user_id')->index();
$table->unsignedInteger('user_id')->index();
$table->string('api_token', 36)->unique();
$table->timestamp('expired_at')->nullable();
$table->timestamps();
Expand Down

0 comments on commit 941ce78

Please sign in to comment.