romanbican / roles

Powerful package for handling roles and permissions in Laravel 5
MIT License
1.16k stars 296 forks source link

Migrations broken in 5.3 #197

Open mcblum opened 8 years ago

mcblum commented 8 years ago

Hi. Just trying to install and after I ran the DB migrations I get:

  [Illuminate\Database\QueryException]                                                                                                                                                                                                                   
  SQLSTATE[HY000]: General error: 1005 Can't create table 'db.#sql-17ad_12' (errno: 150) (SQL: alter table `role_user` add constraint `role_user_user_id_foreign` foreign key (`user_id`) references `users` (`id`) on delete cascade)  
  [Doctrine\DBAL\Driver\PDOException]                                                                      
  SQLSTATE[HY000]: General error: 1005 Can't create table 'db.#sql-17ad_12' (errno: 150)  
  [PDOException]                                                                                           
  SQLSTATE[HY000]: General error: 1005 Can't create table 'db.#sql-17ad_12' (errno: 150)       

Let me know if I'm doing something wrong!