Skip to content
This repository has been archived by the owner on Jan 22, 2018. It is now read-only.

Commit

Permalink
Added comment to migrate options
Browse files Browse the repository at this point in the history
  • Loading branch information
Yasen Yanev committed Jan 27, 2014
1 parent 840d5b7 commit 7b951e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions classes/Migration/Driver/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ abstract class Migration_Driver_Column
'default',
'unsigned',
'values',
'comment',
);

protected $params = array();
Expand Down
1 change: 1 addition & 0 deletions classes/Migration/Driver/Mysql/Column.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ public function sql()
$auto ? ("AUTO_INCREMENT") : NULL,
$after ? ("AFTER `{$after}`") : NULL,
$first ? ("FIRST") : NULL,
$comment ? ("COMMENT '{$comment}'") : NULL,
)));
}

Expand Down

0 comments on commit 7b951e0

Please sign in to comment.