Update version 0.1.1
This commit is contained in:
@@ -18,6 +18,7 @@ class mchat_schema_4 extends \phpbb\db\migration\migration
|
||||
'\dmzx\mchat\migrations\mchat_schema_3',
|
||||
);
|
||||
}
|
||||
|
||||
public function update_schema()
|
||||
{
|
||||
return array(
|
||||
@@ -33,4 +34,20 @@ class mchat_schema_4 extends \phpbb\db\migration\migration
|
||||
),
|
||||
);
|
||||
}
|
||||
|
||||
public function revert_schema()
|
||||
{
|
||||
return array(
|
||||
'drop_columns' => array(
|
||||
$this->table_prefix . 'users' => array(
|
||||
'user_mchat_index',
|
||||
'user_mchat_sound',
|
||||
'user_mchat_stats_index',
|
||||
'user_mchat_topics',
|
||||
'user_mchat_avatars',
|
||||
'user_mchat_input_area',
|
||||
),
|
||||
),
|
||||
);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user