mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2024-12-02 05:29:12 -06:00
21 lines
410 B
PHP
21 lines
410 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();
|
|
|
|
}
|
|
|
|
} |