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