Skip to content

Commit bc858f8

Browse files
author
dmitriy
committed
Updated to Laravel 6.4
1 parent c1b080f commit bc858f8

File tree

3 files changed

+90
-0
lines changed

3 files changed

+90
-0
lines changed

.styleci.yml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
php:
2+
preset: laravel
3+
enabled:
4+
- alpha_ordered_imports
5+
disabled:
6+
- length_ordered_imports
7+
- unused_use
8+
finder:
9+
not-name:
10+
- index.php
11+
- server.php
12+
js:
13+
finder:
14+
not-name:
15+
- webpack.mix.js
16+
css: true
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?php
2+
3+
namespace App\Http\Controllers\Auth;
4+
5+
use App\Http\Controllers\Controller;
6+
use Illuminate\Foundation\Auth\ConfirmsPasswords;
7+
8+
class ConfirmPasswordController extends Controller
9+
{
10+
/*
11+
|--------------------------------------------------------------------------
12+
| Confirm Password Controller
13+
|--------------------------------------------------------------------------
14+
|
15+
| This controller is responsible for handling password confirmations and
16+
| uses a simple trait to include the behavior. You're free to explore
17+
| this trait and override any functions that require customization.
18+
|
19+
*/
20+
21+
use ConfirmsPasswords;
22+
23+
/**
24+
* Where to redirect users when the intended url fails.
25+
*
26+
* @var string
27+
*/
28+
protected $redirectTo = '/home';
29+
30+
/**
31+
* Create a new controller instance.
32+
*
33+
* @return void
34+
*/
35+
public function __construct()
36+
{
37+
$this->middleware('auth');
38+
}
39+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?php
2+
3+
use Illuminate\Database\Migrations\Migration;
4+
use Illuminate\Database\Schema\Blueprint;
5+
use Illuminate\Support\Facades\Schema;
6+
7+
class CreateFailedJobsTable extends Migration
8+
{
9+
/**
10+
* Run the migrations.
11+
*
12+
* @return void
13+
*/
14+
public function up()
15+
{
16+
Schema::create('failed_jobs', function (Blueprint $table) {
17+
$table->bigIncrements('id');
18+
$table->text('connection');
19+
$table->text('queue');
20+
$table->longText('payload');
21+
$table->longText('exception');
22+
$table->timestamp('failed_at')->useCurrent();
23+
});
24+
}
25+
26+
/**
27+
* Reverse the migrations.
28+
*
29+
* @return void
30+
*/
31+
public function down()
32+
{
33+
Schema::dropIfExists('failed_jobs');
34+
}
35+
}

0 commit comments

Comments
 (0)