develop
Last change
on this file since c6b84df was c6b84df, checked in by beratkjufliju <kufliju@…>, 3 years ago |
added fileTypes controller, notifications, excel export, edited views
|
-
Property mode
set to
100644
|
File size:
477 bytes
|
Line | |
---|
1 | <?php
|
---|
2 |
|
---|
3 | namespace Database\Seeders;
|
---|
4 |
|
---|
5 | use Carbon\Carbon;
|
---|
6 | use Illuminate\Database\Seeder;
|
---|
7 |
|
---|
8 | class FileTypeSeeder extends Seeder
|
---|
9 | {
|
---|
10 | /**
|
---|
11 | * Run the database seeds.
|
---|
12 | *
|
---|
13 | * @return void
|
---|
14 | */
|
---|
15 | public function run()
|
---|
16 | {
|
---|
17 | \DB::table("file_types")->insert([
|
---|
18 | "mimes" => "mimes:jpg,jpeg,png,pdf,docx,xls,xlsx,txt,ppt,pptx",
|
---|
19 | "max_size" => "5000",
|
---|
20 | "user_id" => "1",
|
---|
21 | "created_at" => Carbon::now()
|
---|
22 | ]);
|
---|
23 | }
|
---|
24 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.