mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-29 02:11:12 -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();
|
|
|
|
}
|
|
|
|
}
|