Skip to content

Commit

Permalink
Merge pull request #32 from vitivs/patch-1
Browse files Browse the repository at this point in the history
Update 2015_06_21_193059_create_kryptonit3_counter_page_visitor_table…
  • Loading branch information
Kryptonit3 authored Jan 21, 2018
2 parents 4e6f505 + 3f2918f commit 1a0bcf2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public function up()
$table->bigInteger('visitor_id')->unsigned()->index();
$table->foreign('visitor_id')->references('id')->on('kryptonit3_counter_visitor')
->onUpdate('cascade')->onDelete('cascade');
$table->timestamp('created_at');
$table->timestamp('created_at')->default(DB::raw('CURRENT_TIMESTAMP'));
});
}

Expand Down

0 comments on commit 1a0bcf2

Please sign in to comment.