mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2024-12-11 09:45:27 +01:00
574128a922
A second empty line in the SQLite database caused an error when running 'php artisan migrate'. Command: $ php artisan migrate Error: "Illuminate/Database/QueryException" SQLSTATE[HY000]: General error: 26 file is not a database (SQL: select * from sqlite_master where type = 'table' and name = migrations) at /path/to/vendor/laravel/framework/src/Illuminate/Database/Connection.php:712 708▕ // If an exception occurs when attempting to run a query, we'll format the error 709▕ // message to include the bindings with SQL, which will make this exception a 710▕ // lot more helpful to the developer instead of just the database's errors. 711▕ catch (Exception $e) { ➜ 712▕ throw new QueryException( 713▕ $query, $this->prepareBindings($bindings), $e 714▕ ); 715▕ } 716▕ } 1 /path/to/vendor/laravel/framework/src/Illuminate/Database/Connection.php:368 PDOException::("SQLSTATE[HY000]: General error: 26 file is not a database") 2 /path/to/vendor/laravel/framework/src/Illuminate/Database/Connection.php:368 PDO::prepare("select * from sqlite_master where type = 'table' and name = ?")
0 lines
Plaintext
0 lines
Plaintext