fix: migrations
This commit is contained in:
parent
f67f167af7
commit
d1a1ebdf6c
2 changed files with 7 additions and 7 deletions
|
@ -12,8 +12,8 @@
|
||||||
use Flarum\Database\Migration;
|
use Flarum\Database\Migration;
|
||||||
|
|
||||||
return Migration::addColumns('oauth_clients', [
|
return Migration::addColumns('oauth_clients', [
|
||||||
'client_name' => ['string', 'default' => null, 'nullable' => true],
|
'client_name' => ['string', 'length' => 500, 'default' => null, 'nullable' => true],
|
||||||
'client_icon' => ['string', 'default' => null, 'nullable' => true],
|
'client_icon' => ['string', 'length' => 500, 'default' => null, 'nullable' => true],
|
||||||
'client_desc' => ['string', 'default' => null, 'nullable' => true],
|
'client_desc' => ['string', 'length' => 1000, 'default' => null, 'nullable' => true],
|
||||||
'client_home' => ['string', 'default' => null, 'nullable' => true],
|
'client_home' => ['string', 'length' => 200, 'default' => null, 'nullable' => true],
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
use Flarum\Database\Migration;
|
use Flarum\Database\Migration;
|
||||||
|
|
||||||
return Migration::addColumns('oauth_scopes', [
|
return Migration::addColumns('oauth_scopes', [
|
||||||
'scope_name' => ['string', 'default' => null, 'nullable' => true],
|
'scope_name' => ['string', 'length' => 500, 'default' => null, 'nullable' => true],
|
||||||
'scope_icon' => ['string', 'default' => null, 'nullable' => true],
|
'scope_icon' => ['string', 'length' => 500, 'default' => null, 'nullable' => true],
|
||||||
'scope_desc' => ['string', 'default' => null, 'nullable' => true],
|
'scope_desc' => ['string', 'length' => 1000, 'default' => null, 'nullable' => true],
|
||||||
]);
|
]);
|
||||||
|
|
Loading…
Reference in a new issue