23 lines
610 B
PHP
Executable file
23 lines
610 B
PHP
Executable file
<?php
|
|
|
|
namespace pedodev\tagging\migrations;
|
|
|
|
class dev_5 extends \phpbb\db\migration\migration
|
|
{
|
|
static public function depends_on()
|
|
{
|
|
return ['\phpbb\db\migration\data\v330\v330'];
|
|
}
|
|
|
|
public function update_data()
|
|
{
|
|
return [
|
|
|
|
['permission.add', ['u_pedodev_tagging_cantagposts']],
|
|
['permission.permission_set', ['ROLE_USER_LIMITED', 'u_pedodev_tagging_cantagposts']],
|
|
['permission.permission_set', ['ROLE_USER_STANDARD', 'u_pedodev_tagging_cantagposts']],
|
|
['permission.permission_set', ['ROLE_USER_FULL', 'u_pedodev_tagging_cantagposts']],
|
|
|
|
];
|
|
}
|
|
}
|