- laravel framework upgrade frpm 7.x to 8. see also: https://laravel.com/docs/8.x/upgrade#assert-exact-json-method
- use PHP7 null coalesce operator instead of laravel optional method - change Breadcrumbs::register method to Bredcrumbs::for method - composer updates
This commit is contained in:
parent
1b2e77d907
commit
8ea540a88c
50 changed files with 616 additions and 263 deletions
|
@ -1,71 +0,0 @@
|
|||
<?php
|
||||
|
||||
use Carbon\Carbon;
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
class MimetypeTableSeeder extends Seeder
|
||||
{
|
||||
public function run()
|
||||
{
|
||||
|
||||
DB::table('mime_types')->insert([
|
||||
[
|
||||
'name' => 'application/x-sqlite3',
|
||||
'file_extension' => 'gpkg',
|
||||
'enabled' =>true,
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'name' => 'image/jpeg',
|
||||
'file_extension' => 'jpg|jpeg|jpe',
|
||||
'enabled' =>true,
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'name' => 'image/png',
|
||||
'file_extension' => 'png',
|
||||
'enabled' =>true,
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'name' => 'application/pdf',
|
||||
'file_extension' => 'pdf',
|
||||
'enabled' =>true,
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'name' => 'text/html',
|
||||
'file_extension' => 'htm|html',
|
||||
'enabled' =>true,
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'name' => 'text/csv',
|
||||
'file_extension' => 'csv',
|
||||
'enabled' =>true,
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'name' => 'text/plain',
|
||||
'file_extension' => 'txt|asc|c|cc|h|srt',
|
||||
'enabled' =>true,
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
[
|
||||
'name' => 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet',
|
||||
'file_extension' => 'xlsx',
|
||||
'enabled' =>true,
|
||||
'created_at' => Carbon::now(),
|
||||
'updated_at' => Carbon::now(),
|
||||
],
|
||||
]);
|
||||
}
|
||||
}
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue