Skip to content

Commit

Permalink
Add doc comments
Browse files Browse the repository at this point in the history
  • Loading branch information
RyujiAMANO committed Sep 29, 2016
1 parent f57be15 commit ca02e91
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Config/Migration/1475125675_add_size_field.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
<?php
/**
* AddSizeField
*
* @author Ryuji AMANO <ryuji@ryus.co.jp>
* @link http://www.netcommons.org NetCommons Project
* @license http://www.netcommons.org/license.txt NetCommons License
*/

/**
* Class AddSizeField
*/
class AddSizeField extends CakeMigration {

/**
Expand Down Expand Up @@ -41,6 +52,8 @@ public function before($direction) {
/**
* After migration callback
*
* sizeフィールドに既存のUploadFileデータからファイルサイズを取得して保存する
*
* @param string $direction Direction of migration process (up or down)
* @return bool Should process continue
*/
Expand Down

0 comments on commit ca02e91

Please sign in to comment.