mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-11-28 11:43:53 -06:00
22 lines
411 B
PHP
22 lines
411 B
PHP
<?php
|
|
|
|
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();
|
|
|
|
}
|
|
|
|
}
|