Closed hugo-abdou closed 2 years ago
i font the problem
the problem is the timestamp limitation you need to change it to dateTime
Hello @hugo-abdou I'm presenting this issue, how do you solved it? where did you changed that? on susbscription migration?
when I call the renew() method I get this error the same problem when I call subscribeTo('plan-name') I'm forced to pass expiration date or it will give the error
"message": "SQLSTATE[22007]: Invalid datetime format: 1292 Incorrect datetime value: '2122-11-24 10:35:50' for column 'expired_at' at row 1 (SQL: update
subscriptionsset
expired_at= 2122-11-24 10:35:50,
subscriptions.
updated_at= 2022-10-24 10:45:16 where
id` = 2)", `