fixed migration
Some checks failed
Build and Deploy to k3s / build-and-deploy (push) Failing after 4m38s
Some checks failed
Build and Deploy to k3s / build-and-deploy (push) Failing after 4m38s
This commit is contained in:
parent
b133f4454f
commit
b8f6e47917
@ -13,10 +13,8 @@ class AuthController extends Controller
|
||||
$fields = $request->validate([
|
||||
'name' => 'required|string|max:255',
|
||||
'email' => 'required|email|unique:users,email',
|
||||
'password' => 'required|confirmed|min:6',
|
||||
'password_confirmation' => 'required|confirmed|min:6',
|
||||
'password' => 'required|confirmed|min:6'
|
||||
]);
|
||||
|
||||
$user = User::create([
|
||||
'name' => $fields['name'],
|
||||
'email' => $fields['email'],
|
||||
|
||||
@ -21,3 +21,7 @@ spec:
|
||||
env:
|
||||
- name: FRONTEND_URL
|
||||
value: https://portfolio-host.com
|
||||
lifecycle:
|
||||
postStart:
|
||||
exec:
|
||||
command: ["php", "artisan", "migrate", "--force"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user