fel19

Untitled

May 28th, 2020
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. php artisan migrate:refresh
  2. Rolling back: 2020_05_28_081938_create_createusers_table
  3.  
  4. Illuminate\Database\QueryException : SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP 'age'; check that column/key exists (SQL: alter table `users` drop `age`)
  5.  
  6. at /var/www/bossphp.x/vendor/laravel/framework/src/Illuminate/Database/Connection.php:664
  7. 660| // If an exception occurs when attempting to run a query, we'll format the error
  8. 661| // message to include the bindings with SQL, which will make this exception a
  9. 662| // lot more helpful to the developer instead of just the database's errors.
  10. 663| catch (Exception $e) {
  11. > 664| throw new QueryException(
  12. 665| $query, $this->prepareBindings($bindings), $e
  13. 666| );
  14. 667| }
  15. 668|
  16.  
  17. Exception trace:
  18.  
  19. 1 PDOException::("SQLSTATE[42000]: Syntax error or access violation: 1091 Can't DROP 'age'; check that column/key exists")
  20. /var/www/bossphp.x/vendor/laravel/framework/src/Illuminate/Database/Connection.php:458
  21.  
  22. 2 PDOStatement::execute()
  23. /var/www/bossphp.x/vendor/laravel/framework/src/Illuminate/Database/Connection.php:458
  24.  
  25. Please use the argument -v to see more details.
Advertisement
Add Comment
Please, Sign In to add comment