for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
*
* 2FA extension for the phpBB Forum Software package.
* @copyright (c) 2015 Paul Sohier
* @license GNU General Public License, version 2 (GPL-2.0)
*/
namespace paul999\tfa\migrations;
class update_sessions extends \phpbb\db\migration\migration
{
static public function depends_on()
return array(
'\phpbb\db\migration\data\v310\gold',
);
}
public function update_schema()
'add_columns' => array(
$this->table_prefix . 'sessions' => array(
'u2f_request' => array('TEXT', null),
),
public function revert_schema()
'drop_columns' => array(
'u2f_request',