Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master' into 0.5.x-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
shadowhand committed Dec 30, 2015
2 parents 85378db + b7d075c commit 9e41ae6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/migrations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ To simply change the name of the primary key, we need to override the default ``
{
$table = $this->table('followers', array('id' => 'user_id'));
$table->addColumn('follower_id', 'integer')
->addColumn('created', 'datetime', array('default' => 'CURRENT_TIMESTAMP'))
->addColumn('created', 'timestamp', array('default' => 'CURRENT_TIMESTAMP'))
->save();
}
Expand Down

0 comments on commit 9e41ae6

Please sign in to comment.