mirror of
https://github.com/flarum/core.git
synced 2025-07-17 14:51:19 +02:00
Merge pull request #32 from Allineer/patch-1
"Specified key was too long" fix.
This commit is contained in:
@@ -14,9 +14,9 @@ class CreatePermissionsTable extends Migration {
|
|||||||
{
|
{
|
||||||
Schema::create('permissions', function($table)
|
Schema::create('permissions', function($table)
|
||||||
{
|
{
|
||||||
$table->string('grantee');
|
$table->string('grantee', 100);
|
||||||
$table->string('entity');
|
$table->string('entity', 100);
|
||||||
$table->string('permission');
|
$table->string('permission', 100);
|
||||||
$table->primary(['grantee', 'entity', 'permission']);
|
$table->primary(['grantee', 'entity', 'permission']);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user