firefly-iii/database/seeds/PermissionSeeder.php

22 lines
411 B
PHP
Raw Normal View History

<?php
use FireflyIII\Models\Role;
use Illuminate\Database\Seeder;
/**
* Class PermissionSeeder
*/
class PermissionSeeder extends Seeder
{
public function run()
{
2015-06-27 01:06:24 -05:00
$owner = new Role;
$owner->name = 'owner';
$owner->display_name = 'Site Owner';
$owner->description = 'User runs this instance of FF3'; // optional
$owner->save();
}
2015-07-19 05:23:27 -05:00
}