forum-oauth-center/migrations/2023_09_29_add_columns_to_oauth_scopes_table.php
2023-09-30 09:20:08 +08:00

18 lines
581 B
PHP

<?php
/*
* This file is part of foskym/flarum-oauth-center.
*
* Copyright (c) 2023 FoskyM.
*
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
use Flarum\Database\Migration;
return Migration::addColumns('oauth_scopes', [
'scope_name' => ['string', 'length' => 500, 'default' => null, 'nullable' => true],
'scope_icon' => ['string', 'length' => 500, 'default' => null, 'nullable' => true],
'scope_desc' => ['string', 'length' => 1000, 'default' => null, 'nullable' => true],
]);