uepg/laravel-sybase

Bug when migrate in Laravel 5.5

Opened this issue · 1 comments

When I use php artisan migrate in Laravel 5.5, I got this error:

In Connection.php line 664:
                                                                                                                                                         
  SQLSTATE[HY000]: General error: 257 Implicit conversion from datatype 'VARCHAR' to 'INT' is not allowed.  Use the CONVERT function to run this query.  
   [257] (severity 16) [select * from sysobjects where type = 'U' and name = 0] (SQL: select * from sysobjects where type = 'U' and name = migrations)   
                                                                                                                                                         
In SybaseConnection.php line 477:
                                                                                                                                                         
  SQLSTATE[HY000]: General error: 257 Implicit conversion from datatype 'VARCHAR' to 'INT' is not allowed.  Use the CONVERT function to run this query.  
   [257] (severity 16) [select * from sysobjects where type = 'U' and name = 0]

Maybe it is related to issue #3.