I don’t think I have a backup sooner than 3.0.3, which was giving me the same issues. And yes, I’m still getting the error. I’m commenting out this line, is it correct?
Schema::table('payment_types', function($table)
{
/*$table->foreign('gateway_type_id')->references('id')->on('gateway_types')->onDelete('cascade');*/
});
hillel
February 15, 2017, 11:33am
22
That looks correct to me, you could also comment out the whole Schema::table section.
Unfortunately the error is still appearing. I’m not 100% sure what to do - all of the tables and columns being referenced seem to be in my database.
hillel
February 15, 2017, 8:41pm
24
I’m not sure, you may need to ask a developer for help.
You can submit a request here: https://www.thedevelopers.ro/customisation-request-invoiceninja/
hillel
February 15, 2017, 9:58pm
25
If you want to email your database backup to contact@invoiceninja.com we can try to reproduce the upgrade problem.