Hi All,
Ok so im in need of some help, I am trying to migrate from 5.1.70 to 5.2.1 and I keep getting this error when i run php artisan migrate. I have fully updated with composer and have tried to migrate my invoice ninja to an Ubuntu server but failed with the same issue.
all help is appreciated
Migrating: 2013_11_05_180133_confide_setup_users_table
Illuminate\Database\QueryException
SQLSTATE[23000]: Integrity constraint violation: 1451 Cannot delete or update a parent row: a foreign key constraint fails (SQL: drop table if exists accounts
)
at vendor/laravel/framework/src/Illuminate/Database/Connection.php:692
688▕ // If an exception occurs when attempting to run a query, we’ll format the error
689▕ // message to include the bindings with SQL, which will make this exception a
690▕ // lot more helpful to the developer instead of just the database’s errors.
691▕ catch (Exception $e) {
➜ 692▕ throw new QueryException(
693▕ $query, $this->prepareBindings($bindings), $e
694▕ );
695▕ }
696▕
+12 vendor frames
13 database/migrations/2013_11_05_180133_confide_setup_users_table.php:29
Illuminate\Support\Facades\Facade::__callStatic(“dropIfExists”)
+21 vendor frames
35 artisan:37
Illuminate\Foundation\Console\Kernel::handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
Im also getting a unix_socket error when i try to run php artisan db