firefly-iii/database/seeds/PermissionSeeder.php
2016-05-20 08:57:45 +02:00

25 lines
440 B
PHP

<?php
declare(strict_types = 1);
use FireflyIII\Models\Role;
use Illuminate\Database\Seeder;
/**
* Class PermissionSeeder
*/
class PermissionSeeder extends Seeder
{
public function run()
{
$owner = new Role;
$owner->name = 'owner';
$owner->display_name = 'Site Owner';
$owner->description = 'User runs this instance of FF3'; // optional
$owner->save();
}
}