phpbb/tests/functional/fixtures/ext/foo/bar/migrations/add_permission.php
rxu 69cc2a9734
[ticket/17151] Make macros available for extensions
Also add tests and error reporting.

PHPBB3-17151
2023-09-09 14:02:17 +07:00

25 lines
519 B
PHP

<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
namespace foo\bar\migrations;
class add_permission extends \phpbb\db\migration\container_aware_migration
{
public function update_data()
{
// Add global permission
return [
['permission.add', ['u_foo', true]],
];
}
}