$records
$records : array
plugin data
BlockSettingMigration
updateAndDelete(string $direction, string $pluginKey) : boolean
マイグレーションupの更新と,downの削除 [recordsの注意点] BlockSettingのデフォルト値(room_id=null, block_key=null)でfield_name=use_workflow, use_comment_approvalは設定しても、無視される。rooms.need_approval(ルーム承認する)によって値決まるため
string | $direction | Direction of migration process (up or down) |
string | $pluginKey | プラグインキー |
Should process continue
_invokeCallbacks(string $callback, string $type, array $data = array()) : void
This method will invoke the before/afterAction callbacks, it is good when you need track every action.
string | $callback | Callback name, beforeMigration, beforeAction, afterAction or afterMigration. |
string | $type | Type of action. i.e: create_table, drop_table, etc. Or also can be the direction, for before and after Migration callbacks |
array | $data | Data to send to the callback |