RSM-8 Add team files page and ability to download files

This commit is contained in:
2020-10-11 02:54:09 +01:00
parent b8a2a64354
commit 06d1e0ad3f
15 changed files with 511 additions and 17 deletions

View File

@@ -35,5 +35,8 @@ class DatabaseSeeder extends Seeder
$this->call(PermissionSeeder::class);
$this->call(UserSeeder::class);
$this->call(DefaultOptionsSeeder::class);
$this->call(NewPermissions::class);
$this->call(TeamSeeder::class);
$this->call(TeamFileSeeder::class);
}
}

View File

@@ -0,0 +1,19 @@
<?php
namespace Database\Seeders;
use App\TeamFile;
use Illuminate\Database\Seeder;
class TeamFileSeeder extends Seeder
{
/**
* Run the database seeds.
*
* @return void
*/
public function run()
{
TeamFile::factory()->count(50)->create();
}
}